Take it from someone who has had a lot of experience with deaths in the family: Time doesn't stop, "I can't live without you" is a sham 99 out of 100 times and if you think it gets better once you cry it all out, you are wrong, because the pain never truly goes away.
Dealing with something as permanent as death requires a lot of maturity, patience, hope as a virtue and a normal life to return to; of course friends and family who are there for you at your time of need are no less than the other things I just mentioned. The process of dealing with death begins with complete misery of the loss of a loved one, the fear that you will never get to see, touch, hear them again. This slowly turns into anger, questions of "why", "what is the purpose of life" etc. start haunting you. And all this while, it is important to be surrounded by people who can make you talk, smile, laugh even; no, it is not a crime to laugh after you have lost someone. Repeating these processes for a while (duration varies with people) and then slowly returning to the life you led before the unfortunate incident is the most important step of the dealing and healing process; as this gives you something, a purpose, to go on with life.
Most of the things I talked about here, are more so for sudden or totally unexpected deaths, not those of, say, a very old grandparent who wasn't keeping well for quite sometime.
Death is painful, inevitable, permanent, hard hitting; but deal-able.