I generally find that doing something else helps. Either a cup of herbal tea, a walk or other exercise, meditating, reading a book, a hobby. Something relaxing that starts to break the association of "tough day" = "have a drink."
Recognise the habit for what it is - a bad habit that is not serving you, but because you've been drinking for however long, there is a well-worn neural pathway that has a signpost that says "alcohol helps this." Acknowledge the feeling, but let it go. Start building new neural pathways that have signposts that say "exercise helps this," or "have a cup of tea and a sit down," or some other form of self care.
If your new relaxation/self care habit needs things, make sure you have those in. Experiment with the fancy teas. Have good books available. Where's the good park with the nice walking paths? What time does the museum shut? Don't let yourself get to the point of your brain screaming for a drink but you don't have any tools to hand to offer alternatives.
I know it sounds obvious, but don't have alcohol in the house. Make it as difficult as possible to go out and get booze. For the first couple of months after I stopped drinking, I changed my route home so I wasn't going past the supermarket at the end of the road. I planned my meals and got my groceries delivered, so I didn't have the "ugh, nothing to eat, I've got to go to the supermarket, ooops how did this bottle of wine get in my basket?" thing. I knew once I was home with the front door closed and my slippers on, I wasn't going out again unless my flat caught fire, so I made it as easy as possible to not go out.