Coffee is a food that contains more irritants and caffeine, some people have gastritis or gastric ulcer, after drinking coffee has a certain stimulation of the gastric mucosa, more likely to appear nausea, vomiting performance. You should go to the hospital for a gastroscopy to see if the gastric mucosa is damaged and if there is congestion, redness or erosion of the gastric mucosa. If there is a disease in this area, it is recommended to first actively treat the stomach disease, you can choose to use drugs that protect the gastric mucosa and inhibit the secretion of gastric acid, you should also add drugs that regulate the flora of gastrointestinal function. During the treatment period, foods like coffee, chocolate, ice cream, etc. are best avoided, and foods like chili and pepper are also minimized or not eaten, and can be consumed appropriately after the treatment is healed.