Diagnosis typically involves a thorough skin examination by a dermatologist. If a suspicious lesion is found, a biopsy will be performed to determine whether cancer cells are present. Advanced imaging techniques like dermoscopy can also aid in the evaluation of skin lesions.