Stop what you are doing (as long as you’re in a safe location). Remain calm, and analyse the situation you’ve found yourself in.
Decide what you need to do to survive the situation.
Make mental notes of your surroundings, observe the terrain.
Plan out your next course of action.
Act on your plan.