upset stomach

Hey ladies, I am breastfeeding and I guess I ate something that didn't agree with my stomach so now I have diarrhea. What can I do to help with that? Any medicines I can take while breastfeeding? Thank you in advance!!