Flatulence can be caused by dietary factors, functional dyspepsia, gastritis, peptic ulcer, etc. Depending on the cause, it can be relieved by dietary adjustments, massages, exercises and medications. 1. Dietary factors: Eating too much gas-producing food, such as soy products, onions, sweet potatoes, etc. caused by flatulence, stop these foods, small amounts of food, more massage of the abdomen, appropriate exercise can be relieved. 2. Functional dyspepsia: Itopride hydrochloride can be given to increase gastrointestinal power, combined with compound digestive enzymes and other drugs, appropriate outdoor activities to increase gastrointestinal power, which can help to speed up the digestion of food and relieve flatulence. 3. Gastritis: Ranitidine, Famotidine, Domperidone, Aluminum thioglycollate and other medications can be given to improve digestion and absorption and improve bloating. 4. Peptic ulcer: If there is Helicobacter pylori infection, omeprazole, amoxicillin, metronidazole, bismuth potassium citrate and other treatments can be given to improve digestion and relieve bloating. It is recommended to consult a doctor in time to identify the cause of the disease and follow the doctor’s instructions for treatment, not self medication.