Diarrhea 😩

Is there anything I can take for diarrhea? I’ve been going to the bathroom all afternoon and I’m miserable. Help!