The farts after taking gastric drugs may be caused by the drugs, or it may be caused by the patient’s irrational diet and gastrointestinal dysfunction. 1. Drug reasons: patients taking drugs to promote gastric motility such as domperidone, mosapride, itopride and other drugs, which can promote gastrointestinal motility leading to increased farting, usually after stopping the drug, the symptoms of farting will be relieved on their own. 2. Dietary reasons: patients consume too much carbonated beverages, soy products, potatoes, sweet potatoes and other foods that are easy to produce gas, resulting in increased farting. At this time, patients can improve their dietary structure by eating light and easy-to-digest foods, such as millet porridge, pumpkin porridge, lean meat porridge, pasta and other foods, which will improve their symptoms. 3. Gastrointestinal dysfunction: after taking gastric drugs, such as ofloxacin for acute gastroenteritis, which may destroy the normal digestive flora and cause gastrointestinal dysfunction, dyspepsia and intestinal flora imbalance, you can take probiotic compound bacillus eosinophilus tablets and bifidobacterium tablets orally, which will help to improve the imbalance of the intestinal flora and inhibit the reproduction of bacteria, and alleviate the phenomenon of farting. There may be other reasons for taking stomach pills for farting, if the symptoms are not relieved, you can consult a doctor to clarify the cause and standardize the treatment, taking stomach pills should be taken under the guidance of a doctor, not on their own, so as not to cause harm to the body.