Flatulence may be due to the existence of poor eating habits, chronic gastritis, peptic ulcer, can be taken to improve eating habits, gastric mucosal protective agents such as colloidal bismuth, acid inhibiting drugs such as omeprazole to relieve. 1. Poor diet: such as overeating or eating cold food, irregular diet can lead to intestinal flatulence, generally need to improve diet, balanced nutrition, regular diet, can help relieve intestinal flatulence. 2. Chronic gastritis: chronic inflammation in the stomach is called chronic gastritis, treatment can take gastric mucosal protective agents such as colloidal bismuth, H2 receptor antagonists such as ranitidine. 3. Peptic ulcer: It can be treated by taking acid-suppressing drugs such as omeprazole, weakly alkaline antacids such as magnesium aluminum carbonate, aluminum phosphate and so on. The above drugs should be used under the guidance of a physician, not blindly self-medication. There may be other reasons for intestinal flatulence, so you can go to the hospital for relevant examinations and take appropriate treatment measures.