Grandpas stage 4 lung cancer with mets

Options
We just found out that my grandpas lung cancer has spread to about 10 of his bones and his hip is mow broken due to the cancer weakening it. He is in the hospital now about to have surgery and I was just wondering if anyone has ways to help deal with this or just some enciuragement because this has been very though on my family and just talking to someone would be much appreciated. Also if you have any ideas in how to make him more comfortable or how to make his last few months enjoyable even with his limited mobility. Thanks.