Usually a flashing CEL is an active misfire that may damage the cat converter. Next time it does it scan the car w/o shutting it off and see if you can pull a code.