Things you can say to help
“I’m here for you”.
“Do you need to talk?”
“I’m so sorry for your loss.”
“I’m thinking of you.”
“Do you need a hug?”
“I am going to the supermarket. Do you need any X/Y/Z?”
“How are you doing?”
Sometimes saying nothing at all, and a simple hug or sitting with them can be very comforting.