1 / 13

What Causes Ulcers?

Doctors used to think that certain foods could give you ulcers. But now we know other things cause them, like taking pain-relieving drugs for a long time or infection with bacteria called H. pylori.Although food doesn’t cause or treat ulcers, some can make your pain worse, while others may help you heal faster.

2 / 13

Best: Foods With Probiotics

Foods like yogurt, miso, kimchi, sauerkraut, kombucha, and tempeh are rich in “good” bacteria called probiotics. They may help ulcers by fighting an H. pylori infection or by helping treatments work better.

3 / 13

Best: Fiber-Rich Foods

Apples, pears, oatmeal, and other foods that are high in fiber are good for ulcers in two ways. Fiber can lower the amount of acid in your stomach while easing bloating and pain. Research has also shown that a diet rich in fiber may help prevent ulcers.

4 / 13

Best: Sweet Potato

It’s high in vitamin A, and there’s evidence that this nutrient can help shrink stomach ulcers and may also play a role in preventing them. Other foods with a good dose of vitamin A include spinach, carrots, cantaloupe, and beef liver.

5 / 13

Best: Red Bell Pepper

It’s rich in vitamin C, which can help protect you from ulcers in a number of ways. For one, vitamin C plays an important role in wound healing. People who don’t get enough are also more likely to get ulcers. Get this nutrient in citrus fruits, strawberries, kiwis, and broccoli, too.

6 / 13

Worst: Milk

Doctors used to tell people to drink milk to treat their ulcers. That was before better remedies, like acid-blocking drugs, came along. Today we know milk can’t help prevent or relieve an ulcer. In fact, it might actually make things worse by prompting your stomach to make more acid.

7 / 13

Worst: Alcohol

If you’re prone to ulcers or have one now, it’s best to limit alcohol or avoid it altogether. Research has shown that booze irritates and can even damage your digestive tract. It can make ulcers worse.

8 / 13

Worst: Fatty Foods

They take longer to digest, which can lead to belly pain and bloating -- bad news if you have an ulcer. If they make your stomach feel worse, take a break from them.

9 / 13

Spicy Foods: It Depends

For a long time, doctors thought spicy food was a major cause of ulcers. We now know this isn’t true. Still, some people find that it makes their symptoms worse. Avoid it if it causes you pain.

10 / 13

Citrus Fruits: It Depends

At first, it would seem to make sense that acidic foods like citrus and tomatoes would aggravate ulcers. But there’s no strong evidence that they have any effect on them. Still, we all have unique reactions to foods, so if acidic ones make your ulcer feel worse, skip them.

11 / 13

Chocolate: It Depends

Chocolate has lots of potential health benefits. But it often causes discomfort for some people who have ulcers. If eating chocolate makes you feel worse, wait to indulge until your ulcer has healed.

12 / 13

Caffeine: Ask Your Doctor

The research is mixed on whether caffeine -- coffee in particular -- makes ulcers feel worse. Yet it’s still common advice to cut it out if you have one. Ask your doctor, but you may not have to give up coffee as long as your symptoms don’t get worse.