Taking H. pylori medication leads to black stool, which is usually a normal physiological phenomenon if there is no obvious abdominal pain, diarrhea or fever. At present, the clinical eradication of H. pylori commonly used quadruple program, that is, the combination of four drugs to eradicate H. pylori, one of the mucosal protective agent for bismuth, commonly used drugs for colloidal bismuth pectin, bismuth potassium citrate, etc., taking such drugs can lead to gray-black stool, do not need to worry too much, and no special treatment, the end of treatment can return to normal after discontinuation of drugs. If the black stool persists after stopping the medication, or in addition to black stool, there are dizziness, pale face, cold limbs and other manifestations, there may be gastrointestinal bleeding, it is recommended to go to the hospital as soon as possible, through stool examination, angiography and other tests to clarify whether the bleeding, the amount of bleeding and bleeding site, according to the specific bleeding situation, choose drug treatment or surgery to stop bleeding. During the period of taking medication for H. pylori, it is best to choose to take the medication before meals to make the medication work best. Patients are advised to choose light, easily digestible food to reduce the burden on the stomach and intestines. Also, do a good job of hygiene and protection, disinfect dishes regularly and share meals with family members. Patients should also improve their lifestyle, go to bed early, wake up early, live a regular life, maintain a good mood and develop good living habits.