Prevention. Knowing the symptoms so that people know what to look out for is important. If someone notices any symptoms, they should immediately start to descend. Do not ascend quickly. It is important to give the body time to adjust to the increase in altitude. Make sure to remain hydrated and do not exert the body too much while walking or climbing. Eating carbohydrates can be helpful to prevent altitude sickness and to help people to maintain their energy for climbing. It is also important to avoid caffeine and alcohol since these can cause dehydration.