We can find all kinds of books and information on how to influence people and about relationships. Most follow the illusion that we have the ability to change others. Simply not true.
Yes we can stop or modify someone else's behaviour when we have power over them as a boss, parent, or represent an organization that has the power to penalize us such as courts or police.
But that is really an outward appearance of compliance to avoid penalties we don't want applied to us. But think to our own lives and ask whether that actually changed us or not.
The only person that can change us is ourselves. People enter into relationships with the idea that they can change the other person's faults through the power of the relationship and then wonder why it didn't work.
We can save ourselves a lot of anguish and pain if we learn that we have to accept others just as they are. Perhaps through our example they will see other ways of living that may or may not try.
But the bottom line is that only they can decide to change.