There is no fixed quick solution for flatulence and stomach pain, which can be relieved by taking medication under the guidance of a doctor. Flatulence and stomach pain can be caused by improper diet, frequent consumption of too cold or too hot rough food, or Helicobacter pylori infection, which damages the gastric mucosa and destroys the mucosal barrier leading to inflammation of the gastric mucosa, resulting in gastritis and gastric ulcers in the long run. Flatulence and stomach pain can also be caused by a variety of pathogenic bacteria, commonly including E. coli and salmonella. Long-term occurrence of this situation, under the guidance of the doctor can be used omeprazole enteric-coated capsules, pantoprazole sodium enteric-coated capsules and other inhibition of gastric acid secretion, and bismuth citrate potassium capsules to protect the gastric mucous membrane, as well as moxapride citrate tablets, such as the promotion of gastrointestinal power of the drug. If there is Helicobacter pylori infection, eradication treatment can be carried out by using the quadruple method, i.e., one proton pump inhibitor such as omeprazole + one bismuth agent such as colloidal bismuth + two antibiotics such as amoxicillin and clarithromycin. Patients with long-term gastrointestinal discomfort need systematic treatment under the guidance of a doctor to avoid affecting the patient’s daily dietary life.