I’ve found Ken Sande’s article on the sin of judgmentalism to be instructive and convicting. You can read it in three parts:
Here is a prayer we can pray:
Help Me to Judge Rightly Lord, help me to judge others as I want them to judge me: Charitably, not critically, Privately, not publicly, Gently, not harshly, In humility, not pride. Help me to believe the best about others, until facts prove otherwise— To assume nothing, to seek all sides of the story, And to judge no one until I’ve removed the log from my own eye.
May I never bring only the Law, to find fault and condemn. Help me always to bring the Gospel, to give hope and deliverance, As you, my Judge and Friend, have so graciously done for me.