When I start car it putts and just dies wht culd be the problem on 1994 Buick Century

Wht could it b cuz it runs good sometime then after I turn the car off and start it back up it putts and stalls and then I wait a hour or 2 and try and start it again it will run fine

Asked by for the 1994 Buick Century