I sympathize with your experiences, as I have had a few of my own. Sometimes, getting right back into the thick of it could have negative results. What I found worked for me, was taking a little time away from aviation, say a 1/2 a week to a week, & doing non aviation related activities. When I returned to the reality at hand, I was refreshed & reinvigarated, & subsequently performed well!
Hang in there, you will achieve!!