from your diet. While alcoholic drinks like wine can have some health benefits, alcohol can irritate the lining of your stomach. When you have an ulcer caused by H. pylori, alcohol only makes the situation worse. Drinking milk can provide some temporary relief from pain caused by ulcers because it will coat the stomach. However, drinking milk will also encourage your stomach to produce more acid, worsening your symptoms in the long run. Spicy foods might make ulcers more painful if you already have one, but they won’t cause one. It is best to avoid all spicy foods (hot peppers, hot sauces, etc.) if you have an existing ulcer or are predisposed to them. Deep fried foods, fast food meals, and other high-fat foods should be avoided. These fats are hard to digest, which can irritate ulcers. People who have ulcers, or who are prone to them, should avoid garlic because it can irritate existing ulcers and possibly cause new ones.

TL;DR in Chinese:
戒酒 不要靠喝牛奶来缓解溃疡引发的疼痛。 不吃辛辣食物。 不吃油腻的食物。 远离大蒜。