It seems to be a mild thing. Do not worry. Stress
/ worry increases acid secretion and thus enhances gastroduodenitis.
Apart from taking medicines and avoiding stress, you may avoid tobacco, tea / coffee, spicy & oily food, pain killers.
Try to take meals at regular intervals. Do not drink water for 1.5 hours after major meals.