Pinch your nose, close your mouth, and then try to blow your nose.
This will help unclog your ears.
You can also swallow, chew gum, yawn.
You can take sedated or afrin
) before your flight (assuming you do not have any medical contraindications to these medications) to help as well.