I have a Pontiac grand am,its sometimes has a rough idle when I stop. on 2002 Pontiac Grand Am

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
The head light on the car flashes during this rough idle. What would be the possible cause.
(2) Answers
Qualified Local Pontiac Shops
Qualified Pontiac Shops For This Repair