for some reason when my car starts it revs up high then shuts off what could be the problem
The Idle Air Control valve might be dirty or defective.

Tester
Also check for vacuum leaks. It’s likely in a vehicle this old as rubber hoses dry out and plastic fittings get brittle.