I think it is a matter of perspective.
I hole heartedly believe we are creatures of reaction, and we need those days, weeks, even months or years of dark thoughts to build a lens to see the other side with. However, there is no chance to pick yourself up if you don’t try to see and understand the stars in the dark night sky.
Every moment you’re down, look at it as an opportunity to get back up, standing taller than before. Feed on an objective, a passion, a desire. Let it fester and consume you. Move swiftly to become the idea in your head. When you fail, you’ve only found another part of yourself that needs work, and what a great opportunity that is.
There isn’t “a way” to do it. Its just doing it. Trial and error.
Hope this helps.