Not only does it apply to recovery, but it's also a "secret" to a happy life. Think about it.
...but to answer your question - practice, practice, pratice. You'll be working on this your whole life. Also, try to think about it as more of a way of living and not a problem that has a direct answer.