I use the term "situational perfectionism" to describe circumstances that cause your perfectionism to spike. A failure (or perceived failure) can do that, but so, paradoxically, can a success, especially if it causes you to feel more visible or scrutinized. J.K. Rowling experienced this after the exceptional success of the first Harry Potter book, but fortunately was able to move past it.
Other writers aren't so lucky. From this week's obituary of writer Bette Howland:
It's always best to approach projects with a "clean mental slate," as free as possible from past history and future expectations. And, regardless of your perceived visibility or others' expectations, you must always be prepared to fail.
And you should keep others, and especially potentially critical others, out of your head.
Stay Zen! Meaning: stay in the moment, focused on doing the work. And trust the process by which quantity creates quality.
By the way, many people return from holidays determined to "make up for lost time" or "do way better than before." This is also situational perfectionism, so don't do it!