rough idle and cuts off on 1998 Chevrolet Cavalier

My car has a very rough idle and when i'm driving it shuts off. I start it by pressing really hard on the gas peddle and no sooner i start it it shuts off again.

Asked by for the 1998 Chevrolet Cavalier
Start by checking for diagnostic trouble codes, and check the fuel pump pressure.