Postpartum uti

I had my baby 3 days ago, I 100% have a uti. Can I take over the counter meds? I’m breast feeding and wasn’t sure.