Check engine symbol flashes intermittently idles rough and ETS off light stays on 1998 Pontiac Grand Am

Car died when shifting into drive

Asked by for the 1998 Pontiac Grand Am
2 answers
have it scan tested for codes and go from there
flashing light means misfires that can damage catt