Medications for altitude sickness are used to prevent and treat acute mountain sickness. They work by helping your body adjust to high altitudes and reducing fluid buildup. These medications also have other uses, such as managing fluid retention, treating glaucoma, and easing certain types of seizures. One class of medications used to treat altitude sickness is carbonic anhydrase inhibitors. Carbonic anhydrase inhibitors, like acetazolamide (Diamox) and acetazolamide extended-release (Diamox Sequels), are usually taken as oral pills. They help you manage altitude sickness and other conditions effectively.