How long it takes to get back up is not the concern. Rather than focusing on when that will happen, focus on the knowledge that you can and eventually will rise from whatever darkness you find yourself in.
First, believe that change is possible. It’s what will have the greatest impact on your effort, your habits, your motivation; and ultimately, your success.