Take over-the-counter drugs Several drugs, such as loperamide, can be bought over-the-counter to treat the symptoms of diarrhea. These drugs decrease the frequency and urgency of needing to use the bathroom, and may make it easier for you to ride on a bus or airplane while waiting for an antibiotic to take effect.