Death is inevitable. Nothing I do will avoid it, I can't escape it, and it will get me eventually. Thus, there's no point worrying about it. If I live my life in fear of death, I'll be just as dead as if I didn't.
I'm not religious, so as far as I know this is the only existence I'll ever have. I didn't exist for billions of years, I exist now, and then I won't exist for billions of years. In this brief window of consciousness, all I can do is live my life and try to experience it as much as possible. When I die, all I can hope for is that I was a good person who left the world in a better state than how I found it.
I won't lie and say death doesn't scare me. As I get closer, I'm sure it'll scare me even more. I don't want to die, so I'll take whatever steps I can to avoid it. But to allow it to preoccupy my thoughts does me no good.