when i turn the headlights on in my 99 montero the check engine light comes on on 1999 Mitsubishi Montero

when i turn the headlights on in my 1999 montero the check engine light comes on

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers
scan test for codes
possible issue with alternator. get diagnostic run.