How many is too much?

Ive been prescribed flucloxacillin for a skin infection/ allergy but i’m conscious that I had to take 2 courses of anti biotics for an insect bite a couple of years ago.

This means I would have taken about 4 anti biotics in the space of 6/7 years. Is this too much? Becoming immune scares me.

Thank you