If they both give up at the same time you may have blown a fuse or a loose wire on the switch.
There has been a power failure to these lights. Check for loose wiring at the battery, a bad fuseable link, or blown fuse to start the troubleshooting process.
poopin
blown fuse
Check the switch on the pedal
There are many reasons why a head light would stay on when car is off. These lights could be automatic.
Low beams are burned out.
how do i find a short in my head lights ,tail lights work but not my head lights
Try changing the headlight switch.
Replace the light sensor, it is under dash, 22$ at auto zone, my head lights quit working at night, but brake ligjts & fog lights still worked
my head lights wont come on ,,all other lights work ,,no head lights
It depends on local legislation
this sounds like a fuse or 2. that's where i would start.