My car idles and dies when I step on the gas pedal.
It sounds like you are having a problem with one of the sensors on the engine. It is common for a malfunctioning sensor to let an engine start, but once the throttle is applied, the engine will stall because it is not "seeing" the proper data. I would ask for help from one of the mechanics at YourMechanic to come to you with their diagnostic equipment, and diagnose what is causing your car to idle then die, so they can get you back on the road.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing