There may be a relationship between H. pylori infection and unformed stools and diarrhea, because in the initial stage of H. pylori infection, patients may have symptoms of indigestion, which may be accompanied by more frequent stools, loose stools, and may also be accompanied by abdominal pain and other symptoms. H. pylori infection usually causes gastritis, gastric ulcer, gastric atrophy, etc. Carbon breath test should be done for examination, and if suffering from H. pylori infection can be treated with medications such as amoxicillin, clarithromycin, omeprazole, and bismuth potassium citrate. At the same time with the medication should maintain a stable mood, avoid excessive fatigue and anxiety, more aerobic exercise, dietary attention not to eat cold, fried, stimulating more strong food. Unshaped stool, diarrhea may also be related to gastroenteritis, can do routine stool examination to determine the cause of the disease and then carry out appropriate treatment.