When researchers and doctors say that there may be some psychological factors associated with some types of pain, they usually mean that the intensity of the pain may be affected by psychological factors, such as stress or depression.
When stress, anxiety, depression, or any similar feeling strikes, people can feel physical sensations more acutely, causing an increase in pain. Often, the approach to treatment is helping relieve the psychological distress. This could be through counseling, biofeedback, relaxation exercises, or perhaps medications.
Seeing someone for the psychological aspect of pain will not likely make the pain go away, but it may help someone learn how to manage it more effectively.