Some simple things you can do to help prevent getting pneumonia would be good hand-washing. To live a healthy lifestyle, as much as possible. To quit smoking if you're smoking. If you have diabetes to get good control of your diabetes. And then if you know, you're going to be a risk, say you're immunocompromised, you could wear a mask on a flight, or, uh, just be aware to avoid high-risk situations. If you know your risk for getting infection.