Find the bridge he lives under and bring him back. I don't know. That's not a very easy question to answer. If your friend is not being nice, then I guess they're not really a friend.
I've been trolled and it's an awful experience. I've been lied to, manipulated and it's the worst experience ever. Get them to stop, this kind of behaviour can ruin peoples lives