Imodium is an over-the-counter medication, which is typically used to prevent the occurrence of diarrhea.