It is when there is no problem.
By the time you realize there's a problem, it's long past the optimal window for intervention.
When should we address a problem? Ideally, before it even emerges. Next best is while you're still on an upward trajectory. The third option is during your peak performance. But once you've passed the inflection point and started trending downward, hoping to have it both ways is likely already too late.