Striving for perfection is totally unrealistic. And, most important, mistakes help us learn. You will learn far more from every screw-up than you will from any laudatory achievement
Allow yourself to see how a mistake that made you feel guilty has helped you become a better, more skillful writer. Remind yourself that today is a great day to make mistakes.