Stopping people from taking God's name in vain
I believe that a good way to stop people from taking God’s name in vain is to keep correcting them until they learn to avoid it on their own, especially if these are people one has to interact with on a daily basis.
The same goes for using rude or coarse language, which is also common, even among older people. By correcting them regularly, their brain will start warning them whenever they use such words, and eventually, they will break the habit.