Treatments to keep a pregnancy ?

Kassandra • Kay🎀

I’ve been TTC for 2 years and 4 months now. With 1 miscarriage and an ectopic pregnancy that both happened in the first 9 months. Does anyone know if there’s any treatment to help maintain a pregnancy? Or any reasons why this could have happened? I’m almost scared to become pregnant again for fear that it’ll end in a miscarriage. What would be the first treatment towards fertility?

Fyi: My first pregnancy was healthy, he is now 5 years old. And I am 26 yo.