When do you flee?

What do you key on in deciding it is time to bug-out as opposed to bugging-in?