What I have done in the past is Change my thinking. For me it all boiled down to my thoughts. If I had thoughts of drinking I would replace those thoughts with bad experiences of drinking.
I just kept doing this over and over. It helped me, so thought it might help you.