Welcome to e health forum.
The description provided appears to be due folliculitis.
Folliculitis is a superficial infection of the hair follicles characterized by erythematous, follicular-based papules and pustules.
Folliculitis is often mild and self-limiting if the predisposing factors are removed. some important measures include avoidance of tight clothing, occlusive dressings and adhesive plaster, and (if shaving) to shave in the direction of hair growth.
Daily washing with an antiseptic product (like Dettol or Savlon) may help to prevent or control mild cases of folliculitis.
Other non infective causes of folliculitis including trauma, occlusion of hair follicles, vitamin A or C deficiency, and actinic superficial folliculitis also need to be ruled out.
You may consult with your doctor for a prescription of Topical medications like clindamycin 1% or erythromycin 2%. These can be applied two or three times a day to affected areas, coupled with an antibacterial wash or soap. This might be helpful to relieve your problems.