I failed emmissions on my 2003 gran prix with a code po401 egr flow insufficient detected . any suggestions?

The check engine light has been on for a while. Sometimes it makes a rattiling when i accelerate but i dont konw if that has anything to do with it. Please help my plates expire at the end of Aug.
2 answers 2