Need help

So im 17 and i have a childhood friend whom i haven't seen in a while but we used to stay in contact, recently his dad passed away so I'll be going to meet him so how should I react, should i try to give him sympathy or try to cheer him up