Detecting and treating malnutrition early is the best way to prevent cachexia in a person with cancer. Talk to your doctor about having regular nutritional assessments during treatment to determine if you are at risk for malnutrition and cancer cachexia.