How long??

Pi
I started miscarrying naturally at 8 weeks and it's been 16days since I started bleeding. Been to ER twice, one day of heavy bleeding with clots and lost consciousness and another day due to lot of cramping. Am feeling a lot better now but the bleeding did not tapper off. How long does it take stop?? I just want to feel the end !
Update 11/15: There's a thick tissue remaining in my uterus so my doc prescribed misoprostol to complete the miscarriage.