1. Loperamide (Imodium) This medication slows down gut movement, allowing for better water absorption and helping solidify stool. While it can be effective for short-term use, it should never be given to dogs with certain types of infections or those that have ingested toxins, as it may worsen their condition.