How to stop diarrhea?

Depends. It all depends on what is the reason for the diarrhea. Generally bulking agents like Metamucil are helpful for diarrhea related to irritable bowel syndrome. Probiotics are also helpful.