To my mind, there are two things that, in life, you can do about death. Either you can choose to ignore it, in which case you may have some success in making the idea of it go away for a limited period of time, or you can confront the prospect of your own death and try to analyze it and, in so doing, try to minimize some of the inevitable suffering that it causes. Neither way can you actually overcome it.
I've reached the point where I hardly care whether I live or die. The world will keep on turning without me, I can't do anything to change events anyway.
We do not know whether it is good to live or to die. Therefore, we should not take delight in living, nor should we tremble at the thought of death. We should be equiminded towards death. This is the ideal. It may be long before we reach it, and only a few of us can attain it. Even then, we must keep it constantly in view, and the more difficult it seems of attainment, the greater should be the effort we put forth.