If your gas pedal becomes stuck or jammed, you should:

If your gas pedal becomes stuck or jammed, you should shift your car into neutral, apply the brakes, and safely pull off the road. Once you've come to a stop, turn off the engine. If you cannot free the pedal so that it does not get stuck again, call for assistance and do not try to drive the car.
DMV Writen Test