That's a very important question. Now, while many of us claim not to be afraid of dying, I think most of us are. At least I can say I am.
I have always (since childhood) thought about what comes after death and about the meaning of life. I don't thing the concept of God gives us a good explanation. I try to approach it form a more philosophical point of view. Now that the end is near, this topic becomes more relevant for me.
From a materialistic point of view, apparently there is nothing after. Our brain dies and that's it. When I was a child, I asked this question to my father. He said: "dying is like sleeping for ever". At first sight it seems to make sense. But looking at time in a subjective manner, there is a catch. Let's say that death was like freezing our body. Then there would not be much difference (for us) between one second and one thousand years (or infinite time). So this question seems to remain open if we consider time on a scale lets say form the big bang to the "end" of the universe. What if later the universe comes back to a state similar to the present?
But that opens more questions than it answers. If we were to live our lives exactly as we did this time, could we think of this "reliving" our lives as different life only because we position it on a different place in time? Actually, if the script is exactly the same, we could say that this new life is not really at a different position in time but that time has gone "in a circle" and we are back to the same point and this is not "another life".
On the other hand, if this life is different from the one we have lived, then we could think of it as "another life". But on that life, what we will remember is only what we experienced within that life and will not remember anything about this one. So the question now is: Am I the same person?
And this gets us into a different topic that is the meaning of the "I" concept. I think that even little progress has been made over the last centuries on these difficult questions, if we are honest with ourselves and keep digging into it with persistence, there is the possibility of getting to a better understanding. I wish I had more time to think about these things. Maybe with a better understanding I could feel less fear and die more comfortably.