the electrionc control modudle light is on car will not accrelate how do i fix i on 2002 BMW 325i

was dirving on the freeway car started slowing down and light came on

Asked by for the 2002 BMW 325i
You will need a scan tool to retrieve trouble codes stored in the computer in your car, the codes will indicate where to start troubleshooting.