If you have a habit of cursing and swearing, take a vow not to use bad language for 10 days. Do not take the vow for a lifetime; you will break it immediately. If you happen to break it before the time has elapsed, do not worry. Just begin again. Slowly increase the duration until it becomes your nature.

Sri Sri Ravi Shankar in Celebrating Silence