Titus 2:15 These, then, are the things you should teach. Encourage and rebuke with all authority. Do not let anyone despise you.
1 John 1:10 If anyone comes to you and does not bring this teaching, do not receive him into your house, and do not give him a greeting; 11 for the one who gives him a greeting participates in his evil deeds.
1 Timothy 5:20 Them that sin rebuke before all, that others also may fear.
Galatians 1:8 But even if we or an angel from heaven should preach a gospel other than the one we preached to you, let them be under God's curse!
Romans 16:17 Now I beseech you, brethren, mark them which cause divisions and offences contrary to the doctrine which ye have learned; and avoid them.
Those that teach something that apostles didn't should be considered cursed by God.