When you really think through the first fear you have of it, or work in a line of work where you're exposed to it a lot, it can start to feel like a more normal part of life. In the end, you may die and not even be aware of it. You wont be around to be upset you died. You wont feel regret or pain or anything like that. You may pass away in your sleep.
People will move on; they have to. You will be forgotten eventually, like everyone else. Life is like playing an MMO, in that its never permanent. You ride the wave in a large ocean at that one specific time that the wave exists. You have your moment, and then it disappears. The wave will no longer even be visible when its gone, or remembered. The ocean will continue to exist the same.
When all that sinks in, really the only thing worth worrying about in regards to death is the people around you that you care about that are still alive after you're gone. You want to make sure they have the ability to live a happy life with the time they have left. The wisest people in my opinion are people that try and have some kind of celebratory atmosphere in the funeral, and even plan some of it before they die. Because it's really not about you at that point, but about the people left alive and trying to make them feel better and acknowledge you in a positive way that helps them carry on.
Or, if you genuinely care about being remembered, you try to live your live in a way that lasts after you're gone, or create things that last after you're gone. That's what great people do. They start from the perspective of knowing that they will be forgotten and life is not permanent, and then work to surpass that somehow. But that too, is really not for you either. You're dead after all and will not even be around to know if any of what you did worked. It's for others to somehow learn and carry on something you contributed.
Basically death is about everyone else but you. When you die, you're the least important person in the room, and everyone else left alive is what matters (because they're alive). So, spend time thinking of others and not yourself and you'll be well prepared for death in my opinion.