When the check engine light comes on, it is an indicator that you may have a significant problem. You need to check the codes stored by the onboard computer diagnostic system. Years ago, these codes were initially known as diagnostic trouble codes.
Today, we commonly refer to them as OBD2 codes.