Proboitics will help (that’s the “live culture” in Ypgurt, or you can get them as supplements at health food stores). Acidolpholus is the most common form.
Is your stool just loose and slightly watery? Or are you having many BM’s a day, with “squirting” cramps- that is to say severe diarrhea? Are you needing to run to the bathroom?
Loose soft stool is not a bad thing at all- in fact, it’s a good sign if not TOO loose. In other words, if your stool comes out very soft- that’s good (bettter than hard and dark). If it come out in a brown squirt- that’s BAD. Especially with cramps.
Drink a lot of fluids in any case. Pectin might help (“Kaopectate”).
If you are having severe diarrhea over a long period- get to a Doc right away. That could be life threatening. Really.
“Good to eat”- Bannanas, rice, Mac & Cheese, toast (white), and such bland fare. My dad had Dysentary in WWII, and they fed him Bannanas, toast and rice. the bannanas also help with the potassium loss.