How long does the after miscarriage bleeding take?

My wife had a miscarriage that started Friday Last week. She was 8 weeks pregnant. We visited our doctor 3 times, Same Friday the doctor have some medicine hoping to save our baby, Monday he told us the pregnancy was still there, Wednesday we visited another who said that we had no chance because though the pregnancy was still visible it was almost out. He asked to go home and wait. Friday we visited our doctor who confirmed it was over and did some post miscarriage treatment and told us to go home and wait.

My worry now is that the bleeding is not stopping. For how long should we wait?

Thank you for your advise and sharing