Hi,
This could be acne, pimples, boil or folliculitis.
Folliculitis is infection and inflammation of the hair follicles. Application of antiseptic washes may help prevent recurrences. A topical antibiotic cream, mupirocin (Bactroban®), has been effective .
Let us know if you need any other information and consult a skin specialist if the lesion is persistent.
Regards.