Chemical pregnancy

I’m so discouraged. I think I had a chemical pregnancy. I took a few tests yesterday and they all were positive, but I also started bleeding yesterday. It’s not as heavy as my periods are but it’s still there and I’m still bleeding today. The bleeding hasn’t gotten much worse or better today, and I’m still testing positive. So if this was a chemical pregnancy how long would it take for the tests to no longer be positive?