Prevent distraction with pacts.
Decide how much time you want to devote to each domain of your life, according to your values.
Make sure that you schedule enough time for yourself and for your relationships.
After all, the most important people in your life deserve better than the leftover time in your day.