Ego Depletion

Ego fatigue erodes our ability to stick to the path, achieve goals, and do what we promised ourselves that we do or not do. So, what is the solution?