Biggest thing for me was learning to get up early, and sticking with a schedule even on weekends.
A lot of us have the privilege of working flexible hours and for me that meant getting hammered and showing up to work at 11am still a bit hungover. I now show up to work at 9 and leave by 6, and don't go out with my old drinking buddies. Likewise I don’t try to pull crazy hours because that shit stresses me out and I cope with that by drinking/recreational drug use.
I've wanted to write more about this topic but never have the courage, in part because I still drink sparingly and am not sure that makes me an authority.