There is no authoritative information to show that indigestion farting how long to take medicine can be good, indigestion farting may be gastric ulcer, functional dyspepsia, duodenal ulcer and other diseases caused by the majority of patients with medication for 2 to 8 weeks can be good. 1. gastric ulcer: for gastric ulcer indigestion caused by total farting, generally under the guidance of the doctor with proton pump inhibitors, such as omeprazole, lansoprazole, etc., as well as magnesium sulfate, magnesium alumina carbonate tablets and other gastric mucous membrane protection, the majority of patients in the use of medication can be good for 4-8 weeks, the specific recovery time needs to be based on the patient’s condition to determine. 2. Functional dyspepsia: Functional dyspepsia patients need to fart a lot under the guidance of the doctor with mosapride, domperidone and other drugs to promote gastrointestinal motility. Some patients also need to follow the doctor’s instructions with bifidobacteria, lactobacillus and other probiotics. Most patients will get better in 1~2 weeks after taking the medicine. However, if the indigestion is severe or the gastrointestinal tract has poor recovery ability, it may take longer to get better. 3. Duodenal ulcer: If the indigestion caused by duodenal ulcer is always farting, you need to follow the doctor’s advice to use ranitidine, cimetidine and other H2 receptor antagonists. If it is Helicobacter pylori infection caused by dyspepsia always fart, also need to follow the doctor’s instructions with amoxicillin, metronidazole, bismuth pectin, pantoprazole and other drugs. Most patients follow the doctor’s instructions to standardize the use of medication generally 2 to 8 weeks of treatment will be good, but the specific therapeutic effect needs to be judged according to the physical condition. Patients need to consult a doctor in a timely manner, the drugs need to be used under the guidance of a professional physician, not to self-medication.