Will not go faster than 35 mph and the service emission light is on on 2006 Dodge Charger

Was driving home and all of a sudden, 35 was top speed.

1 answer
Have codes checked and address as needed. Dash light on for a reason.