How can I be prepared to die?

How can I be prepared to die?