This is NOT chickenpox. However, this is folliculitis which is bacterial infection of your hair follicles, which needs to be addressed. Do not ignore this if it happens frequently. But if it is a one time thing- then a course of specific antibiotics will hep.
Next Steps
See a dermatologist, online or offline. DO NOT TAKE ANY ANTIBIOTICS unsupervised
Health Tips
Avoid touching / scratching