Period/Pregnancy

So my period was supposed to happen on October 8, but I missed for a couple days. I got curious so I tested on 10/16 & got a positive.

A week had past, I started to feel period like cramps. Went to the bathroom & saw light brown discharge. Then I started bleeding light red, which eventually got heavier (bright red) so I went to the ER. Once I got there, they made me a do a urine test. Results came out negative. Doctors told me, I might be having a chemical pregnancy. I’m so confused. As of now 10/24, I’m still bleeding heavy with little clots. I took a pregnancy test again & it showed this

I’m not sure if you could see the very fainted line, but I see a positive. I’m so confused. Am I pregnant or no? I haven’t experienced anything like this with my first pregnancy.