It's okay to be harsh on yourself
Everyone keeps saying, "Don't be so hard or yourself" but no, you're allowed to be hard on yourself. That's a way to reflect and figure out what went wrong, why it went wrong, how much you were responsible, and if you can do anything about it. So don't be afraid, beat yourself up (mentally) on occasion, it might just be the kickstart you need.