Attend to your spiritual side
Whether you consider yourself to be the religious type or not, you do have a spiritual side and it needs nurturing. Decide what that means for you and pursue it.
The alternative is to ignore that side of you until there is a crisis, or until your life seems empty enough that you pursue unhealthy activities such as having an affair or involving yourself in pornography or worse.
Get some books on the subject or talk to a minister or counselor and learn more about your spiritual self. Drug and alcohol addiction have been universally labeled as symptoms of a spiritual deficit.