Metformin for Infertility

Cr
Has anyone ever taken metformin for infertility? I went to my OBGYN today for my annual checkup and pre-conceive discussion. He wants to do a sono, bloodwork,  and put me on metformin to help me ovulate. (Metformin is a medication for Diabetes but is also used as an infertility drug) We have only been trying for 7 months & I previously took BC for about 10 years.