Miscarriage?

I slept with someone on my most fertile day and he came inside of me and then two weeks after I took a pregnancy test and it came out positive. I have had big cramps and then I was trying to use the washroom and this came out. It felt like I just pushed out a blob of something