That depends on the mental make up of the person involved I believe. Some people are so devastated, that they never do get there. Others accept the new information that they have cancer, and realize that it just simply has to be dealt with. I prefer to deal with it as its a "matter of fact issue that has to be fixed". And just treat it like a chore that has to be done. I ask the dr's what has to be done, when, other details, and set my mind on the first thing that has to be done, get past it, then work on the next. I kind of treat it like its my job, I have to do it, and it's going to get done. The sooner I get it all done, the quicker I am on the way to recovery. That's all I let my mind dwell on, I keep my mind off the "what ifs" and negative subjects. This is just me, and it works for me, and has during all 3 of my diagnoses.
Best of luck to you, I hope your "chores" are easy and quick!