Around four in 10 cases of cancer could be prevented by making certain lifestyle changes, including adapting your diet.