Certain cancer treatments, particularly radiation therapy, can affect pacemaker function. Radiation can induce changes in the pacemaker's circuitry, potentially leading to device malfunction. It is crucial to coordinate with the cardiology team and the radiation oncologist to ensure the pacemaker settings are optimized and protective measures are in place.