Fixing a bad light socket can be done by simply replacing the socket. Usually sockets are attached by one nut on the bottom or two screws down through the base of the socket. You�ll want to make sure the power is turned off to the fixture before taking it down, of course. After unscrewing it and taking it down, you can find a replacement at any local home improvement store. Reattach it the same way you took it down and put in a new bulb. You�re good to go!