Cramps and Bleeding followed by BFP

Katie

Six days ago, I had mild spotting with some cramping. Two days ago I have bad cramping overnight and in the morning went to the bathroom and had red blood, not a ton and no clots, but enough that I thought for sure I started AF but no bleeding after that. Then today I got a BFP! What’s the chance that this is viable? Or did I miscarry and body still has HCG? I’m 15 DPO. Thank you!!!