I use...HALT
I ask myself, am I Hungry, Angry, Lonely, or Tired? I address those. I don't want a drink, I am just... Alcohol won't fix this, what will?
If that does not work, I make a mental or physical list of the things that have gotten better since I quit. I DO something I don't associate with drinking. Exercise, clean, read, gardening, walk, call a friend...and lately...get on here to read or post!