Infection and breastfeeding

I got an ingrown hair a few days ago. I think it is infected. It is swollen, red, and while tryinf ro find the hair, brownish puss came out. Do i need to worry about breastfeeding my baby?

I am pretty sure I am okay but I just want to be sure, and yes I'll probably be seeing a doctor.