Folliculitis (hair follicle infection), perhaps due to staph or strep. It doesn't sound like an STD of any kind. Try local hygiene, i.e. daily washing with an antibacterial soap and keep the area dry (loose underwear, perhaps cornstarch or talcum powderr). If the problem persists with that approach, see a health care provider.
Good luck-- HHH, MD