well it depends on if it got worse after you replace spark plugs. If so then you probably need to check the gap on the plugs, or maybe a coil is not properly seated in place. Make sure you do not run the car very long when the check engine light is flashing because that can cause catalyst damage.