My best guess is that this is folliculitis, or blocked pores. They can come spontaneously, or after sweating, etc. They mostly don't need to be treated, and subside eventually on their own. If they stay around more than 2-3 more weeks, have someone take a look at them. Best to leave them alone--no scratching etc.
Best.
Dr. Rockoff