Onion, ginger and garlic are also a kind of food with strong irritation. If you eat too much in the case of poor stomach function, it will lead to symptoms of gastritis, so it means that your stomach function is not good.
For this situation, firstly, it is suggested to give priority to digestible diet, secondly, to eat less and eat more meals, and thirdly, some drugs such as omeprazole enteric-coated tablets and gastric mucosal protective drugs such as Daxi chewable tablets can be taken for treatment.