The Boy Scout's motto, "Be Prepared," is very appropriate here. We should always be aware of our situation and prepared to act if something untoward comes along. We never know when it's coming, so it is best to rehearse it in our mind for it happens or have some kind of plan that covers many kinds of situations.
Ron