One thing my counselor ingrained in me... "Be in good place to make good decisions." That's when I accepted listening to the psychiatrist who does the med checks and doing what he recommended. Guess what, I'm in a good place and am getting better at making good decisions. Going off medication without your doctor's approval or awareness can come back to bite you in the patookie. Now I'll stop.
Little kids and bad words. Ignoring it worked for me, giving the hairy eyeball to the older kids helped, too. Spending time praising good behavior seemed to offset that too.