There is always an origin of every thought. Similar thoughts become linked in the neurological pathways of the brain. Clustered thoughts become beliefs. Beliefs are powerful engines that drive autonomic and automatic behavior. When the fuel of desire is added to belief, automatic behavior becomes addictive behavior.
Addiction is a disease.
The only doctor who can cure this disease is you. By talking, you can heal the desire for your addiction. That is, if you talk about the thoughts creating the desire. In a study of 112 adults with rheumatoid arthritis or chronic asthma, doctors asked two thirds of the group to write about a very upsetting event in their lives for 20 minutes a day, three days in a row. The remainder just wrote about their plans for the day.