PLEASE HELP!! Herpes or something else?

I used to have recurrent yeast infections, and recently believed I just had one. However, my partner notified me that he had 3 bumps on his penis and i should go get checked. I went to the bathroom to check and see a singular ulcer. It is not red, there is no cluster, but it is painful. My lymph node is swollen on only one side, and I noticed that prior to the ulcer. Does this resemble herpes?

image