3rd time on antibiotics within 2 months 😣😢

Got infection in one of my breasts after I started leaking colostrum. My doctor diagnosed me with mastitis which is not very common during pregnancy, it usually happens in BF mothers. Took 1st round of antibiotics for 7 days and then two weeks later it occurred again and I had to complete course for 10 days and now not even 3 days have passed my breast swelled again 😢 I don't know why it keeps coming I'm tired of taking tablets 4 times a day after every 6 hours in addition to to iron supplement and prenatal vitamins . There must be a solution to permanently end this 😭😭😭 Any of you ladies experience this?