No alarm for lights on

If I turn off my car and leave my headlights on, the beeper or alarm does not go off so it's easy for me to leave my lights on in error.

I suppose you mean beeper does not go "on" when head lights are "on" and you open drivers door.In this case beeper's door switch may be dirty. Check also for any loose wire connection or faulty beeper relay.