I used to be such a crappy sleeper, always waking up in the middle of the night, never being able to get back to sleep, averaging between 5-6 hours a night, now look at me.

I basically avoid alcohol as much as possible, i.e. I don’t drink to relax after work any more (which sounds quite toxic to write), and when we’re away on holidays or at a social thing, I try to limit the amount I drink, along with not drinking after 4-5pm where possible.
Obviously, there are times when this is not possible and I end up having a couple of beers or wines, I just have to know that I will sleep like crap on these nights, and that’s OK.