Car motor no goood

i have a 2001 saturn L200.the mechanic told me my car motor is no good.he told me he cud get me a use motor for about 500.oo it haves about 150.000 miles on it should i do it or try to get a new car ?