1. Loperamide (Imodium) This medication works by slowing down the movement in the gut, which decreases the number of bowel movements and makes the stool less watery. It's important to use a suitable dosage based on your dog's weight, and to avoid use in cases of diarrhea caused by certain infections or if the dog is showing signs of bloat.