Deter
Definition 1 of 3
Pro Tip 1/3
Emphasis on Consequences
Deter focuses on the negative outcomes to discourage an action. The possibility of failing the course should deter you from skipping classes.
Pro Tip 2/3
Psychological Influence
Using 'deter' implies attempting to change someone's mind through doubts or fears. She was deterred from smoking by the graphic health warnings.
Pro Tip 3/3
Action-Related
Deter is often used when talking about actions we want to stop someone from taking. The threat of rain didn't deter them from holding the picnic outdoors.