I work in an environment where bad language is commonly used all day long. Because of this, it is in my mind and I now find it coming into my thoughts and out of my mouth. I want to stop this quickly but have not been successful just with being aware of it.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.
Let the words in my mouth and the meditations of my heart be acceptable in your sight, my strength and my redeemer. Oh, sing unto The Lord, for He has done marvelous things. This is the doxology during the service at my A M E church.
I find this helps when I need to refrain from saying inappropriate things.
This is something I struggle with. Today's youth use profanity like it is normal to talk like that. There are words that I just hate! Then when I hear them, I can't get them out of my head. I have prayed to ask God to remove those words from my brain. I am an adult survivor of childhood sexual abuse, and bipolar. I have healed by the grace of God, and forgiven those who abused me, but it's not easy when there are words that trigger things from the past. I just keep praying about it.
The simplest way it to not use words you think are foul. Every word you ever utter is a personal choice unless you say what others tell you to say.