To find the check engine light code, use an OBD-II scanner. Connect it to the onboard diagnostics port, usually found under the dashboard, and follow the scanner's instructions to retrieve the code.