What happens when you stop taking Metformin at 24 weeks pregnant? I’ve taken it all throughout my pregnancy so far.

Can it harm the baby to stop taking it?