I'm heartbroken

Chloe
I found out a few days ago that I was pregnant. Went to my doctor who confirmed I was 5 weeks along. Woke up this morning with dark bleeding with some light blood mixed in too. Not in too much pain just some slight back pain and cramps in my pelvic area. Went back to my doctor and he told me I'm more thank likely having a miscarriage. Called the hospital and they said the same thing. Told me to rest and if the pain gets unbearable and the blood gets bright with clots like a period to go in. I'm absolutely heartbroken after 8 months of trying. I feel like it's my fault...