Keep the lines of communication open
I learned this the hard way when a rough patch of work started to alienate me from my family. Let the people closest to you know what’s going on in your work life when things get hectic, so they don’t feel like your lowest priority or worse, suddenly abandoned.
And keep your ears open to hear what they tell you, too — if your spouse or partner, your friends, or your kids start complaining — or tell you straight out that you’re working too much — listen to them. They’re generally going to be a better judge of your behavior than you are.