Should I reset the check engine light via disconnecting the battery? on 2006 Ford F-350 Super Duty

The check engine light came on when I accelerated rapidly to pass someone. Then a few hours later I accelerated rapidly again and the light began to flash for a few seconds. I drove the truck one more time and the light is still on, but it has not flashed again. Did the flashing indicate a misfire? What should I do?

Asked by for the 2006 Ford F-350 Super Duty
yes, do not clear the code as it does nothing for the issue. get the nuber, find the cylinder and check the plug, coil, injector to find the failure