to wean
Si lo hubiera dicho, podríamos haberla deshabituado antes de la operación.
If she had told us,we could have weaned her off before the operation.