What is the threat, what could do you harm, what is available to assist you, or can you extract from the situation? Just a few seconds spent on coming up with a plan rather than running blindly or reacting wildly will significantly improve your chances of a favorable outcome.