2 Thessalonians 3:6-15 (written to the Church in Thessalica)
We instruct you, brothers, in the name of (our) Lord Jesus Christ,to shun any brother who conducts himself in a disorderly way and not according to the tradition they received from us. For you know how one must imitate us. For we did not act in a disorderly way among you, nor did we eat food received free from anyone. On the contrary, in toil and drudgery, night and day we worked, so as not to burden any of you. Not that we do not have the right. Rather, we wanted to present ourselves as a model for you, so that you might imitate us. In fact, when we were with you, we instructed you that if anyone was unwilling to work, neither should that one eat. We hear that some are conducting themselves among you in a disorderly way, by not keeping busy but minding the business of others. Such people we instruct and urge in the Lord Jesus Christ to work quietly and to eat their own food. But you, brothers, do not be remiss in doing good. If anyone does not obey our word as expressed in this letter, take note of this person not to associate with him, that he may be put to shame. Do not regard him as an enemy but admonish him as a brother.
2 John 7-11
Many deceivers have gone out into the world, those who do not acknowledge Jesus Christ as coming in the flesh; such is the deceitful one and the antichrist. Look to yourselves that you do not lose what we worked for but may receive a full recompense. Anyone who is so “progressive” as not to remain in the teaching of the Christ does not have God; whoever remains in the teaching has the Father and the Son. If anyone comes to you and does not bring this doctrine, do not receive him in your house or even greet him; for whoever greets him shares in his evil works.
These are two situations spelled out in Scripture for the Church to take action.