blood in poop

Mypregnancy
I've been having period like cramps. And today I went to the restroom. I pooed a lot of blood it came out with a clot. Sorry for the gory picture