Safe sex practices are crucial for cancer patients due to their potentially compromised immune systems. Cancer treatments such as chemotherapy and radiation therapy can lower the body's ability to fight infections, making it more susceptible to sexually transmitted infections (STIs). Moreover, certain cancers, such as cervical and penile cancer, are directly linked to STIs like human papillomavirus (HPV).