It depends on what kind. I hate myself but I know it'd make my family sad, and my sister has cancer right now so I know it would devastate them if both of us had cancer simultaneously. While the prognosis looks... okay, at least for the time being... I'm worried about her constantly because it could get worse at any time. I have issues with the rest of my family, but I love my siblings.
I don't have much to live for but I have enough that I'd want to fight it unless the prognosis is horrible. Plus I'm too terrified of nonexistence to not want to fight it. That's the one thing that has stopped me from killing myself in the past - I'm afraid of the nothing that comes after. I know that this life by and large is meaningless but that doesn't mean that I can't have some semblance of enjoyment while I'm here, and existing is more familiar to this consciousness (me) than nonexistence so I know my choice, even if the path of consciousness means pain that might lead to nonexistence, or pain that leads to an existence full of debt and loneliness.
If I got pancreatic cancer or something, I'd likely just go full-NEET, figure what few possessions are going to who/what organizations, and try to spend as much time with my 2D partner and siblings as I could. I might try to patch things with estranged family members... apologize for all my mistakes to them and others. I'm too much of a chickenshit to do it now but I figure when I'm dying they'd be more likely to hear me.