small black lump around anus

i recently discovered this small black lump around my anus and im still confused if its perianal haematoma or hemorrhoids i also been wondering if it can be an sti since i had unprotected sex weeks ago here is a pic showing the lump

image