You have to inform your respective airlines before the departure of your flight. The period of submitting your health documents depends on the particular airline.