Miscarriage at 5 weeks - how long did you bleed?

Am

I should be 5 weeks today but doctor confirmed I am having a miscarriage. I am wondering how long I will bleed? How long before we can try again?