If you want people to do something and take an action then motivate them through rewards and incentives but if you want people not to do something and prevent them from doing something then you need to get them with the negative consequences of punishments.
Do read the Disclaimer