wow back on topic it is probably your alternator it happens when it starts to go bad it doesnt give the battery enough charge so when you turn on your headlights it drains powere from everything so g get your alternator and battery checked for free at autozone or discount to see which one it happens to be before you spend money on the wrong thing hopefully this helps you out
__________________
BFK for life, forever, get your dick sucked