Transmission problems. Ugh. It's either physical internal damage, the sensor, the Computer, wiring, oil level or almost anything! Best to have this done at a transmission shop. This is something that you would need diagrams a scanner and time. If you don't have any of those, just bite the bullet and have a professional look at it. Good luck!