Step 1. Balance. (Like a lot of other people have said here)
And I mean Balance on all dimensions of how you are as a person. Mental and Physical being the primary ones. There are other dimensions but that's outside the scope of this context.
Once this is set (and its a lot of work, mind you) then it doesn't matter if you do software engineering or skiing or X.