Gastric flatulence is related to indigestion, gastritis, gastric ptosis, pyloric obstruction, etc. Patients can follow the doctor’s instructions to use medication or surgical treatment. 1. Dyspepsia: dyspepsia can cause flatulence in some patients, usually patients can follow the doctor’s instructions to apply domperidone, mosapride and other gastric stimulating drugs to improve, but also can be used to multi-enzymes tablets, yeast tablets and other digestive enzyme preparations for treatment. 2. Gastritis: gastritis caused by flatulence need to follow the doctor’s instructions with omeprazole, lansoprazole and other proton pump inhibitors, famotidine, ranitidine and other H2 receptor antagonists to inhibit the secretion of gastric acid. Some patients can also use aluminum hydroxide, sodium bicarbonate and other antacid drugs, bismuth potassium citrate, bismuth pectin and other drugs to protect the gastric mucosa, domperidone and other gastrointestinal dynamics of drug treatment. 3. Gastric ptosis: it can cause gastric flatulence in some patients, and patients can use drugs such as domperidone and mosapride to relieve the discomfort. For those with severe gastric ptosis, they can be treated with partial gastrectomy. 4. Pyloric obstruction: Pyloric obstruction caused by flatulence needs to be relieved by gastrointestinal decompression, and those who vomit need to be hydrated in time. Some patients with pyloric obstruction should be treated with acid-suppressing drugs such as omeprazole and lansoprazole as prescribed by the doctor. In addition to medication, patients with pyloric obstruction should also undergo gastrojejunostomy, gastric resection, vagotomy and other surgical procedures. Gastric dilatation, gastric ulcer, gastric cancer, etc. can cause gastric flatulence. It is suggested that people with flatulence should undergo further detailed examination in order to clarify the cause of the disease and then follow the doctor’s instructions for treatment.