Hello, this is Dr K99. Answers are not medical advice and do not constitute a Dr/patient relationship. Please consult your Dr for medical advice.
I can try to help you. This looks like lesions in a cluster. Herpes lesions are painful and will burn and sting. They will occur in a cluster like this. Over a period of 2-3 days the lesions will burst and release fluid They will then scab over. To diagnose herpes the lesion base after it has burst open should be swabbed and sent for a viral culture. Its important to get this done even if you need to visit the emergency room to do it.
The other possibility that is less likely is molluscum contagiosum, also a viral infection. It looks like small whitehead pimples . They can be extruded of the white center and will heal on their own. They are painful because they are filled with a thick white cheesy substance.
Molluscum is very contagious as is herpes. You should not touch the lesions without washing with soap and water well after.
I am happy to answer followup questions. Good luck