My car hesitates when I stop and start i.e. at lights. on 2000 Mazda 626

The engine light has flashed but never stays on. It drives really rough. Any ideas?

Asked by for the 2000 Mazda 626
it's hard to guess without looking/listening the problem but it sounds to me the fuel pump is failing, sometimes rough idle, hesitates and die at stop light. get help check the fuel pressure and listen the pump if it's making loud noise.