HELP! red painful bump!

So I have this painful red bump on my anus and I don't know what it is! I doesn't hurt when I go to the bathroom but it hurts when I sit down. I had sex with my ex boyfriend the other night could he have given something?? Help me I'm freaking out!