Before surgery, try to eat lots of carbs and protein, start multi-vitamins and trace elements including magnesium. Treat this as a marathon not a sprint and if you have the chance train accordingly, build yourself up using protein shakes etc. The fitter and well fed you are before surgery, hopefully the better you will tolerate the recovery phase.