I had terrible diarrhea that wouldn't go away for months after I had to take a long course of antibiotics for a bad case of pneumonia. My best guess was that I'd murdered all my gut flora, so I started eating real yogurt and real kimchi and all that gut bacteria-promoting shit.
It seemed to work pretty well and I started shitting normally again within a few weeks.