Learn from it. Otherwise you're going to experience these same regrets when you're about to turn 40, 50, 60, 70, ...
Figure out your goals/principles/mission today. Then make that happen now.
There's never going to be a right time to do anything other than now. Because you're never going to be any younger.