When will miscarriage stop!

I was told last Monday my baby had no heart beat and within 4 days I would bleed . Sure enough dr was on point and exactly 4 days later I started light spotting .. The past 4 days after spottin (as in this morning ) I began to bleed and cramp HEAVY! I have passed a couple clots and tissue which I thought was all the baby . I'm not sure to what exactly I'm suppose to pass . Bleeding is not severe to go back to hospital as in 2 pads a hour . I understand I will bleed and cramp a lot but after passing the clots how much longer will I bleed and feel these cramps ? I lay down and cramp for a hour maybe then push and put comes a cramp and it keeps repeating .. The baby was only 8 weeks 5 days grown , this is sooooo painful I've never had contractions but I swear these feel like contractions !