Check VSC ligh was on and check engine was also on on 2007 Lexus IS250

While I was driving the check engine light turn on, Check VSC light was on. It felt like the car was about to turn off when I stop and it was idling ..then i turn the engine off then back on and everything was back to normal.

Asked by for the 2007 Lexus IS250
Don't be overly concerned that the car has two separate faults. Many sensors are shared by both the engine and vehicle stability control system. Unfortunately a scan tool is needed to retrieve codes stored in the computer of your car. Most generic scan tool will read the code stored it does not have to be Lexus specific.
Code PO036 is what the dealer said and is recommending a valve job