The only treatment needed for most foodborne illnesses is replacing lost fluids and electrolytes to prevent dehydration.
Over-the-counter medications such as loperamide (Imodium) and bismuth subsalicylate (Pepto-Bismol and Kaopectate) may help stop diarrhea in adults. However, people with bloody diarrhea—a sign of bacterial or parasitic infection—should not use these medications. If diarrhea is caused by bacteria or parasites, over-the-counter medications may prolong the problem. Medications to treat diarrhea in adults can be dangerous for infants and children and should only be given with a health care provider’s guidance.