I attribute this mostly to lack of time to think too much, so you can probably find different ways to achieve the same effect.
I think somewhere along the way I’ve also become adult enough to realize that there will be days I accomplish absolutely nothing and that that is fine.
I stop comparing myself to the best people in the world, and start comparing myself to the best people in my immediate environment, and I feel a great deal better about myself.