Period...:

Mad a miscarriage about a week ago and I'm still bleeding how long is the bleeding supposed to last ? I was 21 weeks when I had a miscarriage . & when would i have my period back ?