The duration depends on the type and stage of cancer and the treatment plan. Treatments may range from a few weeks (e.g., radiation therapy) to several months or years (e.g., chemotherapy or hormone therapy).