Not enough info to make any kind of rational assessment.
1 Does the tail light still work?
2. Are both high beam and low beam dead?
3. How did you determine that the headlight bulb is good? Did you check it with a multimeter? If so, then you should be smart enough to use the voltmeter function to trace the voltage to the point of the open circuit.