If the engine revs up but the car doesn't accelerate and it's an automatic then it's the transmission. First check the fluid level. If you have a manual transmission the clutch is probably slipping. iIf the engine does not rev up when you try to accelerate you may just need a tune up. get back to me with more info.
