A)
hook your shoe under the pedal and see if you can free it. If not, shift into neutral and use the brake to slow your vehicle and get off the road.
B)
turn off the ignition if your vehicle has power steering.
C)
try pumping it to increase pressure.
D)
ease your foot off the gas pedal and brake gently.