These genital sores can be due to folliculitis or boils. A boil, also referred to as a skin abscess, is a localized infection deep in the skin. A boil generally starts as a reddened, tender area. Over time, the area becomes firm and hard. Eventually, the center of the abscess softens and becomes filled with pus. Finally, the pus "forms a head," which can be surgically opened or spontaneously drain out through the surface of the skin.
Since they are painful, it gives the possibility of boils an edge but if you have had unprotected intercourse then to be on the safe side you need to get an evaluation done for STD’s like herpes as well.
Apply warm compresses and keep the area clean. Drainage is done only when it becomes soft and forms a head. Take some over the counter pain reliever and consult a doctor for examination and antibiotics prescription.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.