seems like you have recurrent folliculitis
of the legs....
Folliculitis (also known as "Hot Tub Rash") is the inflammation of one or more hair follicles. The condition may occur anywhere on the skin with the exception of the palms of the hands and soles of the feet. They may appear as red dots and later form pus filled painful lesions
I would recommend that you avoid using any kind of oils or mosturising creams over your legs...wear cotton clothes as much as possible so that there is no excessive sweating
and use some antibiotic creams over the lesions as soon as they develop....Do not touch or squeeze the lesions as far as possible as it can lead to scar formation
Hope it helps
Dr Geetika Paul