Accidentally went in the butt and now it hurts so bad!!!!!

Recently, my boyfriend and I had sex and he accidentally rammed it to my ass. Let me just say, it hurt like a motherflipper. Its been about 3-4 days and the pain defintely got better, but when I try to... erm... take a dump, it hurts SO bad. It feels like my anus is tearing only on one side, like a bit of it. Should I be worried? Also, is it hemmoroids? Sorry if I seem ignorant