My doctor told me to stop taking metformin since I’m pregnant

Lia

I have pcos and I was on metformin my family doctor told me to stop taking metformin and just let the baby be? Since I stop cold turkey would that risk my chances of getting a miscarriage? Btw I’m 4 weeks and 5 days today.