First of all, it doesn’t matter what kind of light bulb you’re dealing with. Incandescent, fluorescent (including CFLs), halogens, and LEDs all work the same way. The only slight difference is that some tubular lamps connect at both ends, but it doesn’t matter what kind of base it has: regular screw base, a GU10 bayonet base, or two bi-pin ends. If the lamp uses electricity to make light, it needs a complete circuit from the panel through the bulb to the neutral and back to the source. If that exists, the bulb should work. If any part of that circuit is damaged or missing, it will not illuminate.
Regular Bulbs
With a regular on/off bulb, you can test if it works by removing it from the location where it isn’t working and installing it in a different location where the same kind of light bulb is working. If testing a halogen bulb, remember to wear gloves, as the oils from your hands can cause temperature fluctuations that may crack or shatter the bulb. Turn the working bulb off, remove it from the socket, and set it aside. Take the bulb that’s not working out of its socket and put it in the working socket. If the bulb doesn’t light up once turned on, it needs to be replaced. If both bulbs work in the working socket, but neither one—or only one—works in the other socket, then there’s probably a problem with the socket where you noticed the light wasn’t coming on.
3-Way Bulbs
With a 3-way bulb, if it isn’t working at all, it’s probably dead. You can test it by moving it to a working 3-way socket, but it’s very rare that both elements of a 3-way bulb will fail at the same time. But if part of it is coming on and the other part isn’t, the problem may be with the socket. Test that bulb by moving it to a working 3-way socket. If both elements don’t come on there, replace the bulb. If you have a 3-way bulb that works as it should in a good 3-way socket, and only one of the two elements works in a different socket, the problem is with the socket. Before moving on to work on the socket, note which part of the good 3-way bulb is working. A 3-way socket has four switch positions, and a 3-way bulb has two elements. One of those elements draws more power and produces more light than the other. Starting with the switch off, the first click turns the power to the lower-power element on. The next click turns that power off and turns the power on to the higher-power element. The third click adds the lower-power contact so that both elements are on at once, and the fourth click turns everything off. Let’s use a 30-70-100W incandescent 3-way bulb as an example; the switch will power the 30W element first, then the 70W element, and then both, giving you the 100W maximum. If your bulb goes on-on-off-off as you turn the switch and it’s putting out a decent amount of light when it’s on, then it’s not getting power to the lower-power element and only the higher-power element—the 70W element in the example—is coming on. This can result from a common form of damage to the socket. If your bulb goes on-on-off-off as you turn the switch and it’s putting out a decent amount of light when it’s on, this can mean you are using a regular bulb and not a 3-way. If your bulb goes on-off-on-off, then it’s not getting power to the higher-power element. In the same example, it’s the 30W element that’s being turned on and off when you see this. If one of the elements is burnt out, the only way to fix the problem is by replacing the bulb with a new one.