Sorry to hear that. You can keep in contact with him and try to cheer him up when he is down. You can't change whether he will live or die, only God has a say in that. You can continue to be a good friend to him. Don't avoid him and take the time to listen to him. Good luck.