How to prepare for the end of life