I found myself getting into the same old dull routine, purely out of habit.
So I wrote a 5 year plan.
It forced me to think through what I wanted to accomplish in the next five years, and what made me happy.
Every five years or so, I revisit it.
Having goals in mind helps.