Topical medications are drugs applied directly to the skin to treat certain types of cancer or related conditions. Unlike systemic treatments that affect the whole body, topical medications focus on localized treatment, making them particularly useful for skin cancers and precancerous conditions.