2006 Hyundai Sonata ESC light

the esc light in my car comes on a little while after driving it and it stays on. this light is responsible for electronic stability control on the vehicle. I read somewhere that it could be the sensor for the angler on a 2006 hyundai sonata.
please advise.

Bring it to a parts store for a free scan and post the codes here.