What keeps you from drinking?

Why is it that I can say I won't drink, and I dont plan on it....but then as soon as 5pm rolls around I just cannot resist. I know it has something to do with how the brain works. What do you do to NOT drink when you really want to? My level of craving at that time actually scares me.