It is customary for relatives and close friends to see the deceased for the last time. Basically, the door of the apartment remains open and visitors do not ring. They kiss or hug family members and ask, that they would be allowed to remain in the room for a while, where the corpse rests. Don't drag this moment forward. You can kneel down, say a prayer and say goodbye, if the visitor is a believer and if the deceased was a Christian, then turn to the relatives of the deceased, gently and tactfully showing his compassion. The visit should be short, and discrete behavior. You don't always even have to say anything, and certainly – you should restrain your gestures and lower your voice.
A widow or widower can inform through loved ones, that they do not wish to be visited. Jews do not visit the house of the deceased until the funeral.
To the person, who has lost a loved one, do not make phone calls. (Let's add at this point, that currently, when it rarely happens, for the deceased to lie at home, and condolence visits to a family busy with many affairs, which need to be dealt with, they can be tedious, a call from close friends or relatives, even willing to offer their help, it is not only forgivable, but even necessary. It all depends on the level of familiarity and the familiar situation of the lonely people).