After a misscariage

So after a miscarriage how long did it take for your hcg levels to go down. Recently a doctor said I might be having chemical pregnancy and to test a week later and see what it says. I tested 10 days later and they are coming right up positive as soon as I pee on them. Am I still pregnant or what. I'm confused!