Are these herpes lesions beside the hemorrhoid?

It started with itchiness. No blisters, pus or scabbing. A swollen lymph node in groin. It definitely an infection of some sort, right? What do you think? Is it herpes? I’ve seen a doc but he just gave me medications to treat the hemorrhoid. I would be grateful if anybody could provide some insights. Images below are the progression. The last image is today.