Why do the headlights stay on after the engine is off and the keys removed on a 1997 Mercury Sable wagon?

Hey Fred==Your car probably has auto headlights and has a module under the dash to control them. The module is bad. goodluckJoe How long do they stay on? They're supposed to stay on for about 3 to 5 minutes.