Metaformin to get pregnant

How many has gotten pregnant while using metaformin? I was talking to a friend who also was going through infertility and her doctors prescribed her that… and she got pregnant after a while. Is that something I can ask my doctor for?

How does it work?

She only needed 4-6 pills she said.