Before undergoing liver cancer surgery, it is important to discuss the risks and benefits of the procedure with your doctor and to follow pre-surgery instructions such as fasting and avoiding certain medications. It's also important to have a clear understanding of what to expect during the recovery process and to have a support system in place for assistance.