Probably a bad headlamp switch, but that should not affect the actual brake lights. If you mean the normal red tail lamp lights don't work then I'd say for sure you need a headlamp switch. If you actually don't have brake lights when you depress the brake pedal, you could be looking at other issues such as a bad brake light switch, or wiring problem. Check all fuses
first and make sure everything is connected properly.