Chemical pregnancy?

I had my first ever positive pregnancy test on the 19th then last night I started spotting. This morning I woke up with what looked like a heavy period and the worst cramps I’ve ever had and when I took another test suddenly the lines were very faint.

The few early pregnancy symptoms I had are now completely gone and I’m still bleeding heavily.

Is this a chemical pregnancy? I don’t know what to do.