Stopping Metformin?

I have PCOS and I’ve been taken Metformin since April 2017. Since then I have had regular periods. I recently got switched to a new Dr who told me to stop taking it... he said Metformin was no longer recommended to treat PCOS. Does anyone have experience with this?