After eating garlic, you can drink warm water, milk, etc. to relieve the symptoms. If the symptoms are serious, you need to take omeprazole and other treatment. The cause of stomach discomfort after eating garlic may be caused by the stimulation of the gastric mucosa by allicin, which is a very irritating ingredient and an alkaline substance. The first thing you can do is to drink more water and milk to dilute the concentration of allicin in the gastrointestinal tract, and milk can protect the gastrointestinal mucosa and help break down allicin. If the pain or stomach discomfort persists without relief, you can take oral magnesium aluminum carbonate, omeprazole, etc., which can inhibit the secretion of gastric acid, protect the gastric mucous membrane, and alleviate the symptoms of discomfort. If you have gastritis and other problems, avoid garlic, chili peppers and other irritating foods in your daily life. Drugs should be used in accordance with medical advice.