Loperamide can treat both acute and chronic forms of diarrhea. Since diarrhea can result in the loss of fluids and electrolytes from the body, it is best to drink plenty of fluids throughout the day and take loperamide with one full glass of water.