Get sufficient sleep before and during travel, wash hands frequently, avoid touching your face, and consider wearing a mask on planes or crowded transport. Eat nutritious whole foods and snacks you packed yourself. Take probiotic and immune-boosting supplements. Get up, stretch, and hydrate on long flights.