Sometimes anorgasmia is due to vaginismus: involuntary clenching of vaginal muscles due to tension and anticipated pain. Pain during intercourse may be caused by yeast infections or lack of lubrication. If sex is painful, then avoidance conditioning occurs. Stimuli associated with sex trigger fear and anxiety.
A woman who is tense and anticipating pain is not likely to feel aroused. If she nevertheless tries to have sex, she is unlikely to have normal vaginal lubrication. That aggravates the problem of pain and irritation during intercourse. To break the cycle of pain, fear, and lack of arousal, several things are necessary: a sensitive, understanding partner; treatment of any medical conditions such as yeast infections; and extra lubrication with a product designed for the purpose.
LoPiccolo and Lobitz (1972) developed a therapy for anorgasmia. They suggested that the first step was for a woman to become comfortable with her own body and familiar with the sensations of orgasm. They recommended self-exploration, then masturbation, first alone and then with a partner, moving on to intercourse. Unfortunately, the recommendation for masturbation makes this treatment unacceptable in some cultures with traditional bans on the practice. However, the success rate for this treatment is good.