Irregular periods

Makia

So I have irregular periods. It's so bad to the point that I went 57 days with no period. My dr prescribed me metformin to help me ovulate. Has anyone tried metformin before and has any success with pregnancy?