How dos a cancerous lump feel like?

Is it a hard lump that doesn’t move? Is it just swelling?