How to prepare for surgery to ensure a smooth recovery