If you want to comfort a friend then you should pat their shoulder.