Metformin

I have a 5 year old, almost six and me and my husband have been trying to conceive #2 for a little over a year now. I’ve been told since my first baby I have PCOS. I’ve been eating healthier and my dr prescribed me metformin today. Has anyone with PCOS been prescribed this and successfully got pregnant?