As humans, certain things in this world are simply beyond our control. One of which is our mortality. You never know when life may take a dramatic turn and change things. There is no sure answer to extending your lifespan.
Instead, you can make sure you lead a healthy lifestyle which ensures that the things under your control are taken care of and that you've done everything you can to lead a good life.