There are teachings by our Savior on this subject. I will give them to you and try to show you how they apply to your question.
All Scripture is quoted from the King James translation
Matthew 7:1 and 2 Judge not, that ye be not judged. For with what judgment ye judge, ye shall be judged: and with what measure ye mete, it shall be measured to you again.
Jesus told us that we are not to make any judgments, about the righteousness of others, and that we are to expect that he will be as lenient or as hard on people at the judgment as we are on others.
Matthew 7:12 Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets.
Jesus also told us that this has been taught through the Prophets in the Old Testament. This is most apparent in the books of Esther and Daniel. In Esther, Mordechai is hanged on the very gallows he built to hang the Jews. And in the book of Daniel, Daniels accusers are thrown into the lions den, after Daniel comes out. The results for Daniel and his accusers are directly opposite.
It is exemplified in a lesser degree in the book of Job where he God allows Job to be worked over by the devil. And in the end Job is rewarded for his recognition of his misconceptions about God.
These are not the only times in which this precept is being taught. In virtually every book of the Old Testament, you will find that there are examples of God's rewards being meted out with the same justice as was given.
This is the reason that we are not to judge one another, and is indicated by Jesus in the fact that we are imperfect and being imperfect we are not qualified to judge one another.
Mat 7:3 through 5 And why beholdest thou the mote that is in thy brother's eye, but considerest not the beam that is in thine own eye? Or how wilt thou say to thy brother, Let me pull out the mote out of thine eye; and, behold, a beam is in thine own eye? Thou hypocrite, first cast out the beam out of thine own eye; and then shalt thou see clearly to cast out the mote out of thy brother's eye.
We were likewise told by the Bible and particularly by Jesus to be aware and on guard for false prophets and false teachers. Here are some examples:
Matthew 7:15 and 16 Beware of false prophets, which come to you in sheep's clothing, but inwardly they are ravening wolves. Ye shall know them by their fruits. Do men gather grapes of thorns, or figs of thistles?
As I read this, Jesus is warning us that some of these will be amongst our own ranks.
Matthew 7:6 Give not that which is holy unto the dogs, neither cast ye your pearls before swine, lest they trample them under their feet, and turn again and rend you.
In this passage, this it appears that we are not expected to associate with this type of individual. And in the following passages, it is apparent that Jesus is telling us that they are going to do everything they can to deceive even the most devout of Jesus followers.
Matthew 24:11 And many false prophets shall rise, and shall deceive many.
Matthew 24:24 For there shall arise false Christs, and false prophets, and shall shew great signs and wonders; insomuch that, if it were possible, they shall deceive the very elect.
Mark 13:22 For false Christs and false prophets shall rise, and shall shew signs and wonders, to seduce, if it were possible, even the elect.
The Apostle John warned us about being sure to compare all teachings to the Bible to know if they are true.
1st John 4:1 Beloved, believe not every spirit, but try the spirits whether they are of God: because many false prophets are gone out into the world.
And in Luke Jesus warns us that if the World thinks we are really good, we should take care make sure we are in the will of God.
Luke 6:26 Woe unto you, when all men shall speak well of you! for so did their fathers to the false prophets.
A great example of this is the Reverend Billy Graham, who is highly regarded throughout the World, and yet he remains vigilant to ensure that he is not in the business of placating people, but is teaching the word of God.
Finally this the answer which you most probably sought after, and tells me that judgment of these people will not be a long, drawn out affair.
2nd Peter 2:1 But there were false prophets also among the people, even as there shall be false teachers among you, who privily shall bring in damnable heresies, even denying the Lord that bought them, and bring upon themselves swift destruction.