In my opinion, changing one's behavior can be in two ways, namely:
1. punishment, which gives punishment to someone who is as heavy as possible so that there is a deterrent effect and there is fear of repeating his actions because the law and order of life in a community.
2. education, information and learning as negative effects resulting from the bad behavior of the people and surrounding communities and also taking negative actions with testimony or from regret they did.
I prefer through education to change someone's behavior or addiction.
Hopefully the answers I give are useful for you and for all of us, have a nice day.