This guide will help you in case there is nuclear warfare and everyone turns into a zombie. I caution you that this information might not help because I have not in fact seen an actual zombie.
Step 1: People
The first step to survive a zombie attack is to have people with you. This is in my opinion is the number one way to survive. What about weapons and food you say, well calm down and let me explain. Say all you had were people and a zombie starts running at you. What do you do? You push a fellow survivor down so the zombie stops to take care of him and you and your group run to safety. You may think this is mean, but think of it this way. It's either you or him.
Step 2: Weapons
One of your top priorities is to get weapons. But not just any weapon is good. For a melee weapon, your weapon must be at least four feet long so the zombie can't claw you, light so that you can use it faster, and must be able to take a zombie's head off on the first or second hit. A good example is an axe or chainsaw. For a firearm, it must be able to kill a zombie on the first or second shot. It must also be light weight if you don't have a shelter, be fast and easy to reload, and have plenty of ammo. If you don't have a shelter, a good gun is a pistol, preferably a desert eagle or a magnum. If you have a shelter, a good weapon would be a shotgun or a rifle of any kind.
Step 3: Food and Water
To be able to live, you must have food and water. Also the food and water must not be contaminated. A good place to find food and water is in a gas station, store, camping supply store, or a restaurant. If you know that there is going to be nuclear warfare, then keep your food and drink underground in hard, sealed containers or in a sealed cabinet in the basement. Some good foods to keep when nukes fly, are camping foods. Stay away from stuff that will make you use the bathroom a lot as this will make you dehydrate. An example of foods that do this are beans.
Step 4: Shelter
The key to surviving zombies is to have a good shelter. This will help you rest to restore energy, keep you safe, and have and store everything you need. Some examples or good shelters are sporting goods stores, police stations, military bases (if there aren't infected soldiers in there) and maybe a gas station. All these place have the tools to help you survive. I said maybe to the gas station because it is small, not many exits, and highly explosive. The bright side to being in a gas station is the donuts and propane tanks and gas that will burn zombies and make barriers. An example of a place not to seek shelter is a tree. I say tree because you have no food, no where to store your stuff, and zombies will just wait at the bottom until you die or commit suicide by jumping into them.
Step 5: Movie Smarts
Another key way to survive a zombie attack is to now what happens in the movies. You need to know where the zombies hide out, how to kill them, and how to avoid them. The problem with being movie smart is that some movies the zombies are slow, and in other the zombies are fast. Prepare for both kinds. Some good movies to begin your preparation with are I Am Legend, Night of the Living Dead, and 28 Days Later (and 28 Weeks Later, the Sequel). After watching these you will have a good idea of what to do.
Step 6: A Plan
A good way to survive is to have a plan. Good plans consist on where to go, how to get necessities (foo, water, guns, etc.), and how to avoid zombies. My plan is to take a semi-truck with my non-infected friends, go to Dick's and fill the semi with guns, ammunition, food,fishing equipment, and water/other hydrating drinks. Then I will drive the semi to a port that has a cruise ship that doesn't have any infected people on board, fill the cruise ship up with the supplies, and then me and my buddies will cruise off into the middle of the ocean and live there until we die. How will we get clean water you say, we will boil it with a special technique that puts water into a cup and the salt into another.
Step 7: Thank You for Reading
Thank You. for other instuctables on how to live after on the cruise ship, please check my other instructables.