Hello and welcome to e health forum.
The description of the lesions is not completely helpful to make a proper diagnosis.
But the description provided appears to be due to conditions like folliculitis, Keratosis pilaris, Irritant dermatitis, skin cysts, etc.
For proper diagnosis and specific treatment, you might consult with a dermatologist, who can examine you and provide a proper advice.