How To Treat Kafir
There is no one who knows the meaning of kafir and title himself kafir. Kafir means the one who denied the truth after he realises it is true. If there is a one of that kind then he should be considered kafir. And you need not to do anything. If he is a friend you need not unfriend him. His matter is between him and God.