This happens because of the high altitude changes brought in the blood circulation of the nose and the pressure changes of the sinuses. Apply a simple nasal drop at the suggestion of your local ENT surgeon one hour before flying.