My biggest fear the M word

Shacoya

so I just found out last night that I'm pregnant I am very nervous because the last time I was pregnant 7 years ago it ended in a miscarriage 3 months into it. I'm hoping everything goes well but obviously it's too early to tell is there any woman on here who miscarried first and then had a healthy pregnancy is there anything I should do to ensure a healthy pregnancy I've been suffering with PCOS and taking metformin