The check engine light isn't just on — it's flashing. That's a different warning from a steady light, and it's the urgent one: the engine is misfiring right now, dumping unburned fuel into the exhaust, where it can overheat and destroy the catalytic converter in minutes.
Cheapest and easiest first. Don't buy parts until the checks below point at one.
The flashing light's primary meaning: one or more cylinders aren't firing. Failed coil, fouled plug, injector issue, or a lean condition under load.
Steady light = a fault was detected; get it checked within days. Flashing = damage is happening NOW; ease off and stop. If the flashing stops and goes steady, the misfire eased — the fault is still there.
Flashing check engine light = pull over safely and shut it off. Driving through it melts the catalytic converter from the inside — turning a coil or plug job into a converter replacement. If the engine is also shaking hard, losing power, or smells strongly of fuel, don't drive it at all. Tow it.