Negative after a miscarriage

I had a miscarriage at 12 weeks

On Oct 12th

I took a pregnancy test on dec 4th and it was positive

I haven’t had a period since my miscarriage

Could this be lingering hcg or another pregnancy

HOW LONG DID IT TAKE AFTER YOUR PREGNANCY LOSS TO TEXT NEGATIVE?

Please help me