Sounds like you need to take it to a transmission shop and have it checked out. Several things it could be in either a manual or automatic transmission. Take it in and have it serviced at a Certified shop. Best thing to do. Could be a few things but without looking at it, it's hard to tell.
There could be a few things wrong with it so you should get it checked out by a mechanic, but you might need a new transmission.