are bacterial infection of skin that can occur with friction, moisture, tight fitting clothes as these can damage the hair follicle facilitating entry of pathogenic bacteria thriving on skin.
So to treat these
Wear loose clothes to prevent friction
Keep the prone areas dry
Maintain proper hygiene, shave hairy areas
Do hot water compresses twice in a day and apply antibiotic cream to treat existing boils or bumps
You may also consider taking oral antibiotics
if there are too many lesions.
Hope that answers your query.