Miscarriage..

Can someone explain to me what happens after a miscarriage? I am bleeding on and off and i thought I had finished bleeding but it came back again is it normal? It’s my 5th day bleeding I just don’t know what’s normal and what’s not .. how long am I going to bleed for or is this my period ? I feel so alone not knowing anything