Generally speaking, mild gastritis, i.e. superficial gastritis, does not increase the risk of gastric cancer, but if not adjusted in time, it may further develop into atrophic gastritis, which is a state of "precancerous lesion".
The "me better" strategy has always been a great story for pharmaceutical companies.