I believe three things strongly, these keeps me going:
Nothing is permanent. Change is the only constant factor.
Regretting for what you did or what you could not do is making another mistake. Just plan to improvise your present and future.
Life goes on