What you likely want to do is one of the following:
* Reset the ECM: This clears fault codes and returns certain parameters to factory defaults. The method varies slightly depending on the exact engine and options in your Cavalier. The most common methods include:
* Disconnect the battery: Disconnect the negative (-) battery terminal for at least 15-30 minutes. This often clears temporary fault codes. Reconnect the terminal after the time has passed. This is the simplest and generally safest method.
* Use a scan tool: A scan tool (OBD-II scanner) can clear trouble codes from the ECM more effectively than disconnecting the battery. This is the best option if you have persistent issues.
* Reset the radio: If you're having trouble with the radio, that's a separate system with its own reset procedure, usually involving a sequence of button presses. Consult your owner's manual for the specific steps.
* Something else entirely: If you're experiencing a problem and think it might be computer-related, be more specific about the problem. For example, "My car is idling rough" or "My check engine light is on" will help determine the appropriate action.
In summary: Disconnecting the battery is the simplest way to attempt a "reset" of the ECM in a 1998 Chevy Cavalier. If that doesn't solve the problem, use an OBD-II scanner, or describe the specific issue you're experiencing for more targeted advice.