Blood After Bowel Movement and severe cramps

I had to go to the bathroom extremely bad and I went. No trouble. It was a little painful coming out but that's it. I got off of my period about a week ago. When I wiped there was tons of blood. I looked in the toilet and it looked like I was on my period?! I couldn't tell which hole it come from?? It didn't hurt bad enough to be a tear, I don't think. I was just concerned if it come out my vagina? I am for sure not pregnant. No sex.