loosing my baby 😭😭

So it all started with brown discharge then spotting to bleeding! Went for my scan yesterday baby heartbeat is only 48 when meant to be 100! I'm gutted I don't see why this is happening to me. I'm trying to be strong but in side I'm hurting so bad .... has anyone had the same? Did they have a successful pregnancy after a Misscarriage?Â