Definitions for "Deter"
To prevent by fear; hence, to hinder or prevent from action by fear of consequences, or difficulty, risk, etc.
To turn aside, discourage, or prevent from acting, generally from fear.
try to prevent; show opposition to; "We should discourage this practice among our youth"
turn away from by persuasion; "Negative campaigning will only dissuade people"