I’ve been noticing a sore around my genitals, the image shows it. I am really scared and need help

i don’t know if this is from a yeast infection or herpes simplex virus. I’m scared to go to the hospital to check it out