All the above is good advice, it would be to your benefit to 1st just check the bulb, if it looks ok, hold it up to a light source and flick the glass and observe, if the element vibrates like a guitar string, the element is not secure and the bulb is bad. One more thing to add to the above, its not uncommon for the solder on the bottom of the bulb to get hot and flatten out, especially on a high beam, it then, of course, becomes an open circuit, if this is the case, you can just heat w/a soldering iron/gun and build up the solder.