Cancer treatments such as chemotherapy and radiation therapy can significantly impact fertility. In men, these treatments can reduce sperm count and motility, while in women, they can affect ovarian function. IUI offers a way to achieve pregnancy using preserved sperm or eggs before starting cancer treatments or using donor sperm.