2003 Acura RSX losing power and shutting off at stop

My vehicle is losing power and shutting off when it comes to a complete stop.

How long has the check engine light been on? What engine? Transmission? Mileage?