Mine sorta did the same thing several months ago....My check engine light came on, dumb*ss dealer (not isusu) just reset it the first time. The next time it came on flashing, turns out it was a bad head gasket. Before it was loaded on the flat bed to be hauled 100 miles to local dealer it was started and it was running very rough....as it probably would
I also did the autozone thing and they didn't help out much!!
Hope it nothing major man!!