If you feel the pressure building, don't wait for it to become painful. Try these maneuvers:
Babies cannot intentionally pop their ears, which is why they often scream during landing. flying with plugged ears