Take an over-the-counter pain medication such as acetaminophen or ibuprofen. Because these medicines are also anti-inflammatories, they will moderate swelling in the eustachian tubes, thereby relieving pressure imbalances. Wear soft earplugs during the ascent and descent of the airplane.