Do you often find fault in yourself and others?
“It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who neither know victory nor defeat.” ~ Theodore Roosevelt
In other words: Don’t complain about your world. Take steps to make it better.
Criticism - whether self or otherwise is toxic energy.
Writer's block happens when writers become more interested in the outcome of their efforts and lose sight of the process itself. An indication you're heading down this unproductive path is when you try to make your work perfect and are concerned about the opinions of others. Harsh self-criticism erupts.
Instead, remind yourself of the first time you did something. You had nothing to lose. Get back to that place.