Go to like Autozone, and have them pull out the troubleshoot code(s). My 2000 Prelude 'check engine' light came on due to a failed primary O2 sensor; bought the part through wholesale dealership, and replaced it myself (dealer was going to charge $450 to fix; part cost me only $200) The code will tell you more accurately what's going wrong.
FYI!