Discouraged and afraid

I have always wanted babies and I was actively ttc for over a year when I finally got my positive. Unfortunately it ended up being nonviable. I should have been 8 weeks. I had to get emergency surgery for internal bleeding and a cyst. I also had to get methotrexate shots. They also discovered I have endometriosis during the surgery.

I wanted a baby more than anything in the world with every cell in my body, but now the thought of ttc again is just terrifying and sad. I don't want to take over a year of trying again. I don't want to lose another pregnancy. I don't to jeopardize my own health, body, and possibly life again. Any tips for healing mentally and emotionally after the loss to overcome these fears?