Welcome to healthcare magic,
What you are having seems like recurrent boils
). It is an infection of hair follicles. Minor trauma like shaving and scratching can introduce infection into the follicle. You need to rule out diabetes
as recurrent boils is seen more commonly in diabetics. Show a dermatologist
so that she will do a pus culture and sensitivity to identify the bacteria and treat you for the carrier state as some of these bacteria can remain in your body dormant to come up once in a while.
Hope this helped