Step 1: Define “After Hours”
Step 2: Have Mental Clarity
Step 3: Communicate with Your Colleagues
Step 4: Get Work Done at Work
And I will add my own personal experience:
Step 5: Realize you (probably) work a B.S. job[1].
I realized I was dedicating my precious life to the pursuit of profit for people at the very top to the detriment of my own well being. If my job disappeared tomorrow, would society be negatively impacted in any meaningful way? No, in fact it might even improve. Realizing this, I just stopped caring about expectations to sacrifice any more time than necessary to my job.
[1] https://www.jacobinmag.com/2018/06/bullshit-jobs-david-graeb...