verb:keep something from happening or arising
Best practices prevent unpredictable errors from arising. They are there to prevent you from going under the burden of debugging errors.
Vaccination can prevent many diseases.