Taking a probiotic supplement or eating probiotic foods like some brands of yogurt may also stop diarrhea. Sometimes, diarrhea results from an imbalance of bacteria in the gut. Probiotics help restore balance by providing a higher level of good bacteria. This can promote normal bowel function and shorten the duration of diarrhea.