Need advice

Katrina

I found out 10/10 that I was pregnant. I started having brown spotting on the 24th so I went to the doctor. My hcg was 325 so they said I could only be 4 weeks not the 6 that I thought I was. I went back a few days later because the bleeding had gotten heavier & my levels were 271. They told me I had a miscarriage as they saw nothing on the ultrasound. I went back on 10/31 because I was having a lot of pain. My hcg was up to 305. What could cause this? I hadn't bleed any since Wednesday but today I am. I am so confused.