I lost my baby

so I got pregnant and I'm only 13 and I woke up one night after doing the test a few days before and residing if I should tell my mom and then I wake up around 3am in a pool of blood and a little tiny maybe the size of a pea looks like blood clot in the middle of it. I did my research and I think I had a miscarriage I cleaned everything and went back to bed on the couch a few weeks later I took another test and I wasn't pregnant and I had told the guy and he stoped talking to me.