Stop.. beating yourself up.. It's not healthy. Stop trying to "fix" what was broken yesterday. Work on today and try and have nothing to "fix".
Believe it or not, those are almost the exact words I used to hear from my wife.....with a "you can't change the past thrown in for good measure"....she was trying.