It's foolish to take precautions after the damage they would have prevented has already been done. Another version of this saying is “Don't close the barn door after the horse runs away.”