How long does bleeding last

Maddie • Mama of a beautiful boy & angel twin boys💙👶👼👼🤍👼 Still trying for baby #2🌈🤍

I had a spontaneous miscarriage at 9 weeks. I’m currently on day 17 of bleeding. It’s lightened a bit but still on the heavy side. On the 3rd day of very heavy bleeding my doctor had be take Misoprostol for 3 days. How long can I expect this to last? I had a miscarriage last year at 5 weeks and only bled for 5 days.