Fetching details from the dictionary...
locking the barn door after the horse has bolted; doing something too late; mending the pen after the sheep are lost