Breastfeeding while sick

I’m sick with a pretty bad head cold I would love to take medicine but not sure what is okay to take while breastfeeding and don’t have a doctor to ask. What is typically allowed?