immodium for diarrhea?

Does it work? I've been having excruciating diarrhea for 12 hours. Haven't slept at all. Really need relief. Someone tell me that immodium will make it stop... or tell me something else that will