cut off and will not restart on 2001 Buick Regal

I was driving and it cut off on me and it will not restart so what could be the problem?every thing else works it just want start.

Asked by for the 2001 Buick Regal
Have the engine scanned for codes. If there are no codes, and there is spark the it could be a worn out fuel pump, pretty common on GM. Have the fuel pressure checked.