Radiation therapy is one way to treat anal cancer. It uses X-rays to destroy and control the growth of cancer cells.