Scared it will happen again and kinda panicking

Yael • My baby girl is my WORLD

We are TTC but I am absolutely terrified of misscarrying again. I've had 2 chemical pregnancies and both were horrifying to me.....I can't go through that again. How has everyone gotten over that fear? I keep thinking of all the things that could make me miscarry if I get pregnant again and it makes me scared to even tell my husband when I do end up pregnant. And I'm wondering if when I get pregnant if I'll have to give up sex because many women say sex made them miscarry and I know studies say it doesn't but it happens too frequently.....I'm just so nervous.