You don't mention the make, model, and year of your vehicle so this answer will have to be generic in nature.
Many of the later model vehicles are designed for the headlights to remain on for some time allowing a person to have light to navigate their driveway, sidewalk or garage to an entrance door to the house.
This condition of headlights remaining on temporarily is accomplished using a "relay" which is a switch which is controlled by an electrical current.
That relay control current is usually provided by an electronic timer device. Sometimes the timer is inside the relay, and sometimes it is a separate device, possibly located some distance from the relay.
Therefore, IF the timer "sticks" in the on mode, or the contact points in the relay stick in the closed position, then the electrical current to the headlights never gets turned off and thus the headlights stay on.
check the fuse
Blown fuse or the lights are just blown and need replacing.
You can ask customer service on this website to get your answer.
there is no fuse for the headlights. Could be many reasons. Start with the fusible links down by the starter.
Fuse for parking lights probably blown.
Most all cars do not have a fuse for the headlights.
Could be a number of things, and you'll probably have to get a digital multimeter to trace the problem. It could be a problem with the headlight switch, the dimmer switch, the wiring, the lamp harness, or the fuse panel.
The headlights on the 2002 Toyota Tacoma might work on dim but not on high beam because of a blown fuse. If the headlights are too dim to see properly in the dark, there could also be a problem with the alternator and the charging system in the vehicle.
A fuse could be bad underneath your dash
It could be a fuse, a relay the switch
could someone please help me with this
The headlights could have bad bulbs or a bad fuse; the two sets of lights are on different circuits.