If you want to know the best way to survive a zombie attack, you should keep in mind some things. Zombies are cruel and vicious things, both in fiction and in reality. They've no emotions or the capability of rational thought. Some may possibly say that they're mindless drones, which function primarily on instinct, and their instinct tells them to eat human flesh. Bearing that in mind, they're considered highly dangerous. So, when faced with an zombie attack, here are some pointers.
Very first and fore most, you ought to stay away from contact with them. Any exposure may be dangerous as they tend to "leak" and leave their infected bodily fluids all around and you wouldn't want to be in contact with those fluids or the zombies that "leaked them".
Physical fitness and dexterity are also really critical in the event you plan to outrun a zombie. You have to be in shape and prepared for serious physical activity. Also, you need to vigilant. You'll be able to never know from where a zombie could come from, so stay sharp and alert.
Body armor wouldn't hurt, either. You have to keep in mind that they bite, so you've to be dressed accordingly. Anything that will stop a human bite from penetrating your precious skin is very good. The most effective choice would be anything made from high quality leather as it really is durable and you are able to move very simply in it.
Now let's talk weapons. Everybody knows that to kill a zombie, you merely have to destroy the brain or remove the head. Guns are a natural choice, but not necessarily the best one. Melee weapons are much far more dependable, far more silent (really critical) and quite accessible. There are tons of tools in your household that can be used for zombie disposal and are comparatively effortless to use and maintain (knives, shovels, bats, etc.).
In order for you to be entirely certain that you know how to survive a zombie attack, you need to collect info and be prepared, both physically and mentally.