Write an article based on this summary:

Buy a local guidebook.  Bring lots of water.  Pack your backpack.  Protect yourself from the sun. Wear the right shoes. Ask some friends or family to go with you. Know what to do in case of an emergency.

Article:
Hiking guidebooks are essential when it comes to finding the right hike for you. Local guidebooks will also tell you all about the natural landscape around you--from wildflowers you will see while hiking during different seasons, to the types of birds you will see flying overhead. You should be able to purchase a local hiking guide at your local bookstore, outdoor adventure store, or at your regional park’s visitors center. You can also purchase them online. You can also search online for hikes in your area. Chances are, you will find a bunch of websites detailing some great hikes right near your house--even if you live in the heart of a city like San Francisco. (If you actually do live in SF, go check out the Marin Headlands!) One of the most important things to know when learning how to hike safely is that you need to bring the right amount of water. Staying hydrated is really important, so drink a good amount of water before you head out on your hike. Bring more water than you think you will need--it’s better to carry extra water than not bring enough and become dehydrated. A good rule of thumb is to bring at least one liter of water per person for every two hours of hiking.  Bring even more if the hike is particularly hot or strenuous. Depending on the length of your hike, you may consider bringing different things. In general, however, you should always bring some sort of energy-boosting snack (you can never go wrong with  trail mix), a knife of some kind (Swiss Army knives are great),  a compass and  map, a flashlight, matches or a lighter, and an extra layer of clothing (in case the weather changes suddenly) and snacks You could also consider bringing a first aid kit, binoculars, etc. Just remember that you don’t want to weigh yourself down with unnecessary items. Always bring plenty of water, though. Along with the other items you have packed in your backpack, you will also need to bring supplies to protect you from the sun. This includes sunscreen, a hat, and sunglasses. Getting sun poisoning or skin cancer is no laughing matter, so do anything you can to protect yourself from the sun’s harsh rays. It’s important to wear shoes that will make your trailblazing easier. Skip the flip-flops and go for lace-up shoes that give you good arch support. If you can, wear hiking boots or trail shoes--these will be the best for maneuvering in rough terrain. Combat boots are also great--these can be worn for a long time on rough terrain and still be comfortable. If it's tick season, tuck your pant legs into your socks--you don't want to get bitten and infection from ticks spread to you. If you have new shoes that you’ve never worn before, break them in before you set out on your hike. If you don’t, you could end up with some nasty blisters on your feet. Beginning hikers should stick together or go with more experienced hikers before they head out on the trail by themselves. This is because it is much more difficult to get help if you are hiking solo and something happens to you. Plan a hike and ask your friends to come along for the fun of it, but also as a safety precaution. If you do decide to hike solo, let someone else know where you are going and when you plan to be back. Tell them you will contact them after you are done with your hike. Do not forget to actually contact them or they may call emergency services. While it is more than likely that your hike will go perfectly smoothly, you should always be prepared for the unexpected. Carry a first aid kit with you, and bring your cellphone. Be prepared, however, that you may not have reception out in the woods. For an extensive guide on how to survive in the wild, click  here.