Car shuts off

IT is a 93 grand am when it gets hot it turns off when it cools off it turns back on

Check to see if the ignition is working (spark getting to the plugs) when the troublkle happens. If you have no spark check to make sure power is getting to the ignition system.

ok i will check that thank you

there is power to the ignition but once it starts after it gets hot it dies let it cool off and it will restart any clues