What's the best way to prevent illness when traveling internationally?

What’s the best way to prevent illness when traveling internationally?