You should depart from a rebellious house. But sometimes you cannot depart, for example if they knock on your door. This is for that situation.
(Ezekiel 3:24-27 [KJV])  Then the spirit entered into me, and set me upon my feet, and spake with me, and said unto me, Go, shut thyself within thine house.  But thou, O son of man, behold, they shall put bands upon thee, and shall bind thee with them, and thou shalt not go out among them:  And I will make thy tongue cleave to the roof of thy mouth, that thou shalt be dumb, and shalt not be to them a reprover: for they are a rebellious house.  But when I speak with thee, I will open thy mouth, and thou shalt say unto them, Thus saith the Lord GOD; He that heareth, let him hear; and he that forbeareth, let him forbear: for they are a rebellious house.
How to deal with a rebellious house. Dont say anything, dumb (verse 26).
And then later if God gives you something to say to them you can later open your mouth (verse 27).
So even though the bible tells us to reprove the works of darkness.
Ephesians 5:11 And have no fellowship with the unfruitful works of darkness, but rather reprove them.
It can sometimes be best to be quiet until you have something godly to say.
Proverbs 9:7 He that reproveth a scorner getteth to himself shame: and he that rebuketh a wicked man getteth himself a blot.
And if possible try to say something edifying.
(I Thessalonians 5:11 [KJV]) Wherefore comfort yourselves together, and edify one another, even as also ye do.
How should we deal with a rebellious house ?
We should shut up and only say something when it comes from God.