Please HELP!! I have questions

A few months ago I went to the doctor and I was told I have pcos and that my best bet to get pregnant was to start metformin and to start loosing weight. Have any of you lady's taken metformin to help get pregnant and was it a long process??