Your first step is top scan for stored codes in the computer. Every time the check engine light comes on, it stores a trouble code. This code will point you in the right direction. I'm going to give you instructions for retreiving the codes. If you accept my answer, I will continue to help you follow through with the code definitions.
To extract a trouble from the computer for diagnostic purposes, the Assembly Line Communication Link (ALDL) connector is used.
Ground terminals A and B with the ignition "ON" and engine not running. The system will enter the diagnostic mode. In this mode, the computer will display a 12, three consecutive times, by flashing the "CHECK ENGINE", "SERVICE ENGINE SOON" or "MALFUNCTION INDICATOR LAMP" or light. A 12 consists of one flash, a short pause, then two flashes in rapid succession.
After 12 is displayed, any stored trouble s will be displayed by flashing the "CHECK ENGINE", "SERVICE ENGINE SOON" or "MALFUNCTION INDICATOR LAMP" light. All s are displayed 3 times each then a 12 will repeat. In the diagnostic mode, the computer will also energize all computer controlled relays and solenoids.
ALDL Connector (Located Underdash)
The ALDL diagnostic connector is located in the passenger compartment.