To avoid the occurrence of gastritis or prevent gastritis to appear one should : avoid eating foods with high fat, controlling the intake of drugs, do not smoke or drink alcohol to not irritate the gastric mucosa.
It is recommended to consume green and yellow vegetables as they are rich in antioxidants and beta carotene. Do also eat at least 30 grams of fiber a day. Limit consumption of salt and 5 small meals a day. It is highly recommended to consume some sort of probiotic yogurt.