Penile cancer is a rare type of cancer that can cause a sore or lump on the penis, most commonly on the head of the penis.