My father in law passed earlier this year from cancer. We ended up taking him into our home for the last week and a half of his life. Lots of good advice in this thread (imho chief among them: therapy, asking for help from people you trust) so I'll just add some of the best advice I got, which was to be flexible. Things can change quickly, for good and bad, and it's good to take it as it comes, to remind yourself that you can't see into the future, to do the best you can right now. It's not easy, but for me personally, it made me calmer and more adaptable, especially for a situation that was largely out of my control for numerous reasons.