For me personally:
I'm on Antabuse so I can't act on negative emotions with impulsive drinking.
I eat something. I watch a video. I find something to do. I work on my investment spreadsheets. I work on studying for an exam related to professional certification in my field. I go for a walk. I send out a resume. I clean something.
What matters is I don't drink.