When you have an upset stomach, you can treat it by regulating your diet, improving your lifestyle habits, using medication, surgery, etc. 1. Mild stomach discomfort can be relieved by regulating diet and improving lifestyle habits, such as avoiding stimulating foods, avoiding overfeeding and overstuffing, and quitting smoking and drinking. 2. If the symptoms are more serious, such as gastritis, gastric ulcer, etc., you need to use some medication under the guidance of a physician, such as: omeprazole, bismuth potassium citrate, domperidone, etc., if combined with Helicobacter pylori infection, you need to carry out the treatment of anti-Helicobacter pylori, such as: omeprazole, bismuth potassium citrate, amoxicillin, metronidazole, etc., but the use of specific antibiotics should be determined according to the local resistance situation. However, the use of specific antibiotics should be based on the local drug-resistant situation. 3. Gastric perforation, gastric cancer, gastric polyps and other causes of gastric discomfort, most need to carry out surgical treatment, or with the doctor to develop a standardized diagnosis and treatment plan. Stomach discomfort needs to be treated according to the specific causative factors, and should not be delayed arbitrarily to avoid delaying the condition, and medicines should be used according to the doctor’s instructions.