With the majority of the population carrying this bacteria, it may not be possible to avoid an H. pylori infection altogether. However, the following hygiene measures can lower the chance of contracting H. pylori. In general, wash your hands well after contact with bodily fluids or being outside, and before eating. Avoid unknown water sources when traveling in developing countries, and cook all animal products thoroughly before eating them.
If you already have the H. pylori bacteria in your system, some healthful lifestyle changes can reduce your risk of developing ulcers. These include stopping smoking, reducing alcohol and caffeine consumption, taking pain-relievers other than acetaminophen, which can cause gastritis, and reducing stress.

This site offers information designed for educational purposes only. You should not rely on any information on this site as a substitute for professional medical advice, diagnosis, treatment, or as a substitute for, professional counseling care, advice, diagnosis, or treatment. If you have any concerns or questions about your health, you should always consult with a physician or other healthcare professional.