Diagnosed with PCOS :/

Catherine
I just got diagnosed with PCOS. My doctor wants to put me on metformin. Has anyone had success with it? How long did it take you to become pregnant?