How did you react? If you have not practiced and practiced chances you will react to this danger the same way as you previously have reacted to other dangers you have experienced.
Its fight or flight. Thats the first judgement. If its fight thats one plan. If its excape and evade to fight another day thats another plan.
Your chances of excape are greatest at the first point of contact. Every minute, hour, day makes excape more difficult.
Have a plan and work your plan. Expect what you inspect.