Welcome to HealthcareMagic. It can be due to infected hair follicles, contact dermatitis
, allergic reaction
or genital herpes
sores if there is any history of unprotected sexual or oral intercourse. I suggest you to consult a doctor and get specific investigations done for herpes. Till then apply some topical antimicrobial cream.
Hope it helps you. Regards.