How can you stop a car from stalling?
Really a redneck way of temporarily dealing with it, but you use
your left foot on the brake while applying light pressure to the
gas pedal to keep your car from stalling.
Without knowing the make, model, and engine your car has, it is
impossible to answer this question. The more details you can give
about your car and what it was doing when it stalled, the better
the answer you can get. Before posting a question I would advise
you to have a the codes read on your vehicle so that you may post
those as well.