Herpes?

I had a yeast infection and got it taken care off then it came back and I’ve had it for a couple weeks, I went to an obgyn because it’s been getting really uncomfortable so now I’m waiting on other results because I’m getting scared it could be something else. It’s been really uncomfortable and my anus is also itchy. I did my research and I’m terrified it could be herpes. I looks a bit swollen. Would you think he’d tell me if I should be concerned of herpes or at least be able to tell right away?

Update: he did look down there and when I got home I looked down there as well and I went on google (worst thing possible) the nurse called me this morning and confirmed that if it were herpes he’d most likely tell me right then and there. I was just prescribed treatment for two bacteria’s. I believe it’s just a yeast infection