IFALPA BRIEFING LEAFLET. HUMAN PERFORMANCE: MEDICATION AND FLYING
Even a minor illness in a pilot can cause a major problem while flying.

Many symptoms that are negligible on the ground may worsen while flying, so in many cases the underlying illness itself is usually the major reason not to fly.
Therefore, licence holders should be encouraged always to consult their AME (authorised medical examiner) before taking any medication.