Re: Ho do you give condolences ?
I have been to dozens of funerals, so I can tell you how it is done.
Pat the person lightly on the back and say something like "I am so sorry for your loss, just too early" If you knew the departed, then say "Just never thought will lose him/her so soon, wonderful person" (That last part about wonderful person may not even be true.