How did you distract yourself from a 2nd miscarriage

In July I had a missed miscarriage.

Yesterday I found out that I am pregnant, 2 days before my period was due.

How can I stop thinking that I’m going to have another miscarriage