I don't know if this helps but I first went through the frig and empty every beer down the drain.
I came upstairs, logged in here and just read and read.
Went to bed and repeated this. The key for me was not having anything around to tempt me. If I did get the idea to jump in the car to go buy beer I came back here or called a good friend who knows what I'm trying to do and we talked until the craving went bye bye.
It's a day at a time, an hour at a time and a minute at a time.