Stay inside the wall. Make sure the wall is secure.
Zombie version of the lesson:
Stay indoors. Board up the windows.
Of course, all lessons have exceptions. Most of the dangers in life lurk outside one’s walls. If that situation changes, well, so do the rules. Rules should never been more than guidelines for a person who lives in exciting times.