Is this herpes?

It looks like herpatic ulcer. Have you experienced this before? Have you been tested for any STI?