Question!!!

My doctor prescribes me metformin to ovulate anyone else taking the same medication?? I thought metformin was for diabetes.