Idk what to expect I’m scared HCG bleeding

Br

So I started spotting 7/26 it was normal when i wipe it was brown but over time it got worst 😫 I’m really scared first i went To patient first doc said i have A Bacteria infection it’s normal but it didn’t sit right so later that night i went To the ER because when i wiped i seen Blood with clots (like coffee grinds) so the doc said my HCG level is 936 I’m measuring 5W5D not 7W4D my last period (start date) June 7. He diagnosed me as threatened miscarriage. What can i do 😿 am i loosing My rainbow 🌈 baby 😩😩😿😿😿