Question:  If a man continues in sin should we continue to be around him?

Answer:  If he is influencing you to do the sin he is committing, then get away!  No friendship is worth falling into sin.  If, on the other hand, you can be an influence in his life, hang tough.  Talk to him.  Pray for him.  God can use you as a truth-teller in his life.