Stomach pain after taking H. pylori medicine is related to the organism generating drug resistance, allergy to drugs, drug side effects and other factors, which can be treated in different ways according to the causative factors. 1, the organism generating drug resistance: the current treatment for H. pylori is mainly a quadruple therapy, namely proton pump inhibitors, bismuth and two antibiotics in combination. The long-term use of antibiotics is easy to make the body produce resistance, so the emergence of drug resistance can not control H. pylori infection, resulting in the recurrence of stomach pain symptoms. You can choose to apply other antibiotics to complete a phase of the treatment cycle according to the results of the drug sensitivity test under the guidance of a doctor to avoid interruption of treatment leading to a relapse of the disease; 2. Drug allergy: If the patient is allergic to the drugs used to treat H. pylori, it may cause symptoms of stomach pain, and some patients will be accompanied by nausea, vomiting, rash and other allergic manifestations. Should promptly go to the hospital to clarify the allergic drugs, the application of antihistamines such as cetirizine, loratadine and other desensitization treatment, and follow medical advice to replace the applicable drugs to continue treatment; 3, the side effects of drugs: antibiotics in anti-H. pylori treatment drugs may irritate the gastric mucosa, causing gastrointestinal pain, accompanied by acid reflux, heartburn, bloating, diarrhea symptoms. In this case, the medication should be discontinued, and then the medication should be changed or the dosage adjusted if the examination is completed and no other cause is clear. During the medication period, pay attention to regular diet, preferably eat light, easily digestible, nutrient-rich food, reduce the intake of spicy and stimulating food, avoid overeating, so as not to cause gastrointestinal tract dysfunction resulting in stomach discomfort, thus affecting the effectiveness of drug treatment.