Mind your mental health. Practice at maintaining a sense of gratitude, peace, conviviality toward others, and forgiveness toward life. Pay attention to what you're thinking and how you're feeling, and know that you can control these. Because you can. That way however long you live, and whatever circumstances are involved, you can make the best of it.
What are the techniques you use to achieve this? For example, do you use meditation, mindfulness, etc., or do you have another approach?