7:1,2
“Do not judge, or you too will be judged.”This does NOT mean not saying something is right or wrong, but it does mean that we cannot say that someone else is better or worse than others. If we consider someone to be worse than us, then God will use the same criteria against us, and we will not come off well.
7:3-5
We must be most concerned with our own righteousness (or lack of it), we must be more concerned about getting ourselves right, than getting others right. Having a judgemental attitude is often an indicator that we ourselves have problems.
7:6
This is a difficult verse.Dogs is a term that Jews sometimes used to refer to Gentiles, and pigs were unclean animals. Perhaps Jesus is saying be careful about whom we share spiritual truths with, for they will not understand and it will not produce a good reaction. If we look at it in the immediate context then perhaps it is a warning that just telling people what is wrong with them will do no good.