How to be excited for pregnancy after losses?

I’m so nervous. We want another baby so so so bad, and I’m currently going through some tests for recurrent miscarriages. I have 2 healthy kids already, so I’m not sure why I can’t maintain a pregnancy now. Anyway, after 2 losses, I’m TERRIFIED to try again (if my dr gives me the green light). How do you get excited about seeing a positive after losing a baby (or more). How do you get yourself out of the mindset of “this isn’t gunna stick..so I won’t let myself get attached”. I know that sounds heartless, but that’s how I’m feeling…