Hi @fideliseke93259
The check engine light is indicating that's there's something wrong with the engine.
Get the car's OBDII diagnostic port (located near the hood release handle under the dash) scanned using an appropriate scantool and check what [https://charm.li/Toyota/2006/Yaris%20%28CANADA%29%20L4-1.5L%20%281NZ-FE%29/Repair%20and%20Diagnosis/A%20L%20L%20%20Diagnostic%20Trouble%20Codes%20%28%20DTC%20%29/|DTC] (Diagnostic Trouble codes) have been logged.
The DTC code will tell you what the problem is.