Preventing HAPE
If you travel or climb at high altitudes, acclimate yourself slowly. Although recommendations vary, most experts advise ascending no more than 1,000 or 2,000 feet (300 to 600 meters) a day once you reach 8,000 feet (about 2,400 meters). In addition, it's important to drink plenty of water to stay hydrated. The higher you ascend the more rapidly you breathe, which means you lose larger amounts of water in the air you exhale from your lungs.
Finally, although being physically fit won't necessarily prevent HAPE, people in good condition tend to be less stressed at high altitudes. However, just because you have hiked or skied at high altitude before doesn't protect you from HAPE. Taken 12 to 72 hours before you travel to a high altitude, the medication acetazolamide (Diamox) can help prevent HAPE. Consider continuing the medication for an additional few days if any signs of altitude sickness, especially headache or insomnia, occur.