Why wouldn't a car go either forward or reverse, but slightly moves and revs up?
If it's a stick shift, then your clutch is history. If it's an automatic, you need to have a Certified mechanic do a complete service on your transmission. Hopefully there is no damage and it just needs a service and you'll be fine.
maybe its in neutral or the tranny is shot.