If your pain happens while you are ascending try wiggling your jaw, yawning, chewing, swallowing, etc...
If your pain happens while you are descending, try holding your nose and blowing through your nose just firmly enough until your ears pop. Repeat as you descend.
If you think that nasal/sinus congestion is playing a role in your ear pain, try taking sudafed as it's a miracle drug. Make sure you get the stuff from behind the counter that has pseudoephedrine as the stuff they sell on the shelves now is no better than placebo.