"亡羊补牢" (wáng yáng bǔ lǎo) is a Chinese idiom that means "to repair a broken fence after the damage has already been done."
In an English translation,it could be interpreted as "mending a broken fence after the loss has already occurred."
It is never too late to mend.
亡羊补牢,犹时未晚