Is this herpes?

on my anus. never had anal sex so not sure what this is

Hi, sorry it does look like it. You should get it swabbed to be sure. HSV is transmitted by skin to skin contact and the condom do not cover everything like the base of the penis and testicles that can also contaminate. It’s very common for women to have lesion near the anus for that reason.