Use an OBD-II scanner for trouble codes. Plug it into the diagnostic port and follow the screen. Enter your car's VIN if needed, then scan for codes. Look up the codes in your car's manual to understand them.