People seem to put very variable amount of emphasis on guns in your preparedness plan. First, it depends greatly on your location. Obviously certain countries will greatly restrict what you can have. Even in countries that allow you to own guns, there are still varying laws in different states and cities.
If you can legally own a gun, then there is still the issue of cost. If you have the funds and feel it fits into your planning, then ensure that you get appropriate training. Like any other tool you need to know how to use it. The best gun in the world will not make you a sniper overnight. Train and shoot regularly to keep up your skill and ensure your gun is functional. So many people buy a gun, put it in a drawer, and hope it works when it is needed. Don’t be the one that finds out your gun fails when you need it most.