7. Rewire the lamp, replacing any necessary parts. I replaced the light socket and cord, but reused the rest of the original hardware. The directions are on the back of your lamp kit. Two of my original hardware pieces were rusted, so I removed the loose rust with a wire brush and spray-painted them silver.