Tmi post anul sex

Sorry if there is tmi on the post but need to help

Me and my bf had anul sex today I had to stop it cos he was going to deep and it was really hurting.

I went to the toilet 4hrs later and there was alot of bright red blood in the toilet plus on toilet paper there was dark blood with clots. I'm still getting pain in my stomach any ideas what Cid of happened.