I’ve been in a relationship for 2 years and me

Patient: I’ve been in a relationship for 2 years and me & my partner had a monogamous relationship the whole time we were dating. In the beginning of January we took a break and I had intercourse with someone else. We got back together about 2 weeks later. I thought I had what was a yeast infection so I went to the doctor and she told me I had what appeared to be sores in my vaginal area & there was a possibility it could be herpes. Could I have gotten them from the guy I hooked up with in January or are they from my current sexual partner?

Doctor: