The symptoms you describe can be due to motion sickness
and subsequent anxiety
due to this. You can try any of the over the counter medications for motion sickness the day of travel. Do not drink or eat too much whilst on the plane and restrict yourself to plain water if you can. Continue with antisickness tablets until you are settled in the new place.
If thats not the case, its probably that you had an infection even before you boarded the plane and you developed symptoms whilst on your holiday, in that case its very unlikely that it will happen again