The cognitive cure for addiction is described on pages 271 through 278 of the book Intimate Connections, by David D. Burns. Unfortunately, as always in life, there is no free lunch.
The method consists of two steps:
1. Rational Decision Making.
2. How to Resist Temptations.
Rational decision making is a small miracle. The way I understand it is in terms of the words of the Mesillas Yesharim:
And what is the advice that they give us'? - 'Let us enter into an accounting.' Let us come and compute the world's account." For they have already experienced, and seen, and learned that this alone is the true path by which a man may reach the good that he seeks, and that there is none beside this.
What emerges from all this is that a man must constantly - at all times, and particularly during a regularly appointed time of solitude - reflect upon the true path (according to the ordinance of the Torah) that a man must walk upon. After engaging in such reflection he will come to consider whether or not his deeds travel along this path. For in doing so it will certainly be easy for him to cleanse himself of all evil and to correct all of his ways. As Scripture states (Proverbs 4:26), "Consider the path of your feet and all of your paths will be established," and (Lamentations 3:40), "Let us seek out our ways and examine them, and we will return to God."
You can see my cost-benefit analysis by clicking on the link below. Some critical aspects of such a cost-benefit analysis are:
1. You need to focus on your feelings. The consideration "doing porn is forbidden" has little impact in this cost-benefit analysis. However, the consideration "when I study Torah I learn that porn is forbidden and I beat myself up for doing porn" is very much relevant.
2. You need to believe your cost-benefit analysis.
3. You need to somehow score the pros and cons. The proper way to score the pros and cons is by assigning to them two numbers which add up to one hundred. However this is most useful when you want to compare two different courses of action. You might see that one is 80-20 and the other 60-40. In the case of one course of action you may be able to do without the numbers. But you still need to decide if the pros outweigh the cons or vice versa. If you cannot make that determination and you still feel like you want to stop, you need to adjust your cost-benefit analysis: it is not accurate. You may also decide that you are better off leaving your addiction alone, and you may reevaluate later.
Resisting temptations requires two things:
1. You need to have a solid cost-benefit analysis to want to bother identifying and disproving your irrational beliefs.
2. You need to be able to "listen in" to your internal conversation to figure out what your incorrect beliefs are. Until you can do this you cannot proceed.
Dr. Burns lists a number of cognitive distortions with which to argue when it comes to resisting temptations. I have found that the main cognitive distortion I need to argue with is the idea that the yetzer ha-ra is too strong for me. I have found the following effective method for doing this:
1. Wait for a stimulus to occur (for example, you see a pretty girl.)
2. Think the following conscious thought: "I cannot get aroused further unless I choose to think about sex. The arousal does not grow by itself. If I engage in some activity before I know it I will turn around and the arousal will be gone."
3. Later look back and verify that the arousal went down.
The method will not work without step 2. If you do this reliably you will no longer believe what the White Book says (p.3):
The sexaholic has taken himself or herself out of the whole context of what is right or wrong. He or she has lost control, no longer has the power of choice, and is not free to stop. [..]
We have already seen that by this the White Book really means "he is not free to stop without the group."
I have found that both Rational Decision Making and Resisting Temptations had to be experienced in order to be understood. I did not understand the power of Rational Decision Making until I attempted it. Even after reading books on cognitive therapy I did not give it enough credit. The light bulb went off about half way through my cost-benefit analysis and I finally believed the words of the Mesillas Yesharim:
After engaging in such reflection he will come to consider whether or not his deeds travel along this path. For in doing so it will certainly be easy for him to cleanse himself of all evil and to correct all of his ways.
When I remind myself that I do have a choice I really don't believe it. It seems very far from me. I know I have chosen not to lust innumerable times, but I only really believe it after I look back and verify that I didn't lust. What an awesome power the yetzer ha-ra has to obscure reality for its sinister purposes.
As always, sobriety by itself is not recovery. Recovery can be gained by diligently listening to our internal conversation, identifying our cognitive distortions, and arguing with them. The best known of these we have listed above.
May you have the zechus to face your true beliefs and achieve cleanliness in the area of lust.
This trait is certainly difficult to acquire, for a man's nature is weak. His heart is easily won over, and he permits certain things to himself by utilizing the opportunities for selfdeception which they present. One who has attained to the trait of Cleanliness has unquestionably reached a very high level of achievement, for he has stood up in the face of a raging battle and emerged victorious.