Huge hugs. Yeah, definitely agree with what Margo says about talking to Macmillan or Maggie's.
Depending on the cancer type, treatment, your mental health ,healing, etc, etc, you still might be able to do some work (though better to line up the possibility that you won't be able to and get those ducks in a row)