Más vale precaver que tener que lamentar.
Better to prevent than to regret.
Meaning
It is wiser to take precautions to avoid future problems than to suffer the consequences.
Meaning
It is wiser to take precautions to avoid future problems than to suffer the consequences.