What is wrong with my engine? Its acting like it is struggling to idle. on 2001 Volvo S60

I was driving down the road and i punched it to go by a guy and right after i went by him my check engine light started to blink so when i slowed down to turn around the engine began to struggle to idle (almost like it was going to stall). This is the first problem i have ever had with the engine.

Asked by for the 2001 Volvo S60
1 answer 1 comment
These types of problems require connecting a scan tool to the vehicle and reading out the diagnostic information, then performing the appropriate diagnosis. This is best left to a professional with the appropriate tools and training.
However, if you can pull the diagnostic codes we can help by providing some information.
thank you, i dropped it off at a transmission specialist and he did tests on it. The problem was the ignition coil now its running great