Stomach pain from eating garlic is because garlic contains a kind of allicin, which is a very stimulating ingredient and also belongs to an alkaline substance. When garlic is eaten, the neutralization reaction of stomach acid will backfire, and a feeling of heartburn will occur, creating irritation to the gastrointestinal mucosa and forming gastrointestinal spasmodic pain. When there is chronic inflammation of the digestive tract, the intake of irritating foods such as onion, ginger, garlic, chili and pepper should be avoided. When stomach pain occurs from eating garlic, drink more water to dilute the concentration of allicin in the gastrointestinal tract. Also drink some milk, which can protect the gastrointestinal mucosa and also break down the allicin. If heartburn occurs, you can also drink milk to relieve the spice. If the pain persists without relief, take oral magnesium aluminum carbonate and proton pump inhibitors to inhibit gastric acid secretion, protect the gastric mucosa and promote the relief of symptoms.