Feeling very lost

Had a nine week scan and they could no longer find babies heart beat 😭 it was 140 at the scan before that. I know what this means and I'm pretty heartbroken about it, it's been three days and I just haven't been able to get out of bed. I know these things happen for reasons but I haven't physically started the miscarriage yet :( I'm so scared, I don't know what is the safest option for me, naturally, the pill or D&C. Even with my understanding on why these things happen it's still a very painful and lonely place to be in. I'm essentially just waiting around for my baby to leave my body, the idea of separating for forever is hard.