Over the counter medicine

Hi ladies, seems like I’m catching a cold. I have a bad sore and I was wondering if I can take over the counter medicine while breastfeeding?