A robust immune system can help your body fend off cancerous cells. Maintaining a healthy lifestyle, including a balanced diet, regular exercise, and adequate sleep, can strengthen your immune system. Additionally, consider vaccinations, such as the HPV vaccine, which can protect against viruses known to cause cancer.