Vayikov ben ha'isha ha'yisroelis es Hashem vaykalel..... v'shem imo Shelomis bas Divri l'mateh Dan. (24:11)
It is brought down in various Sefarim that bris Hamaor (shemiras habris) is dependent on Bris Halashon. Maybe a source can be found in this posuk. Rashi says that Shlomis bas Divri was the only Jew that was nichshal in Mitzraim with immorality. The son that was the fruit of this immoral union - this breach in Bris Hamaor, was the one who breached the Bris Halosho n.
And as Rabbi Twerski once sent us:
There are many people who are desperate and say that they would do anything to be free of the compulsion. Here is something that will indeed take much effort, but if one is really ready to do anything, this can help greatly:
WATCH YOUR SPEECH! Be meticulous in avoiding ALL lashon hara (defamatory talk), any untruth, and any coarse language.
In order to know what proper speech is and what is forbidden, avail yourself of the Chafetz Chaim's "Guard Your Tongue."
This may seem simple, but it really takes great effort, because we are in the habit of talking without giving much thought to what we say. To become conscious and watchful of speech is anything but simple, but if one is really interested in being free of sexual compulsions, this can be of great help.