There are a number of different procedures for turning off these maintenance lights, all depending on the model and that models accessories.
Here’s one of the most common procedures for a 98 Accord.
Turn the ignition switch to the off position.
Push and HOLD the SELECT/RESET button on the instrument cluster and then turn the ignition switch to the on position. (The same position as if the engine was running)
Continue to hold the SELECT/RESET button for a minimum of 10 seconds or until the light goes out.
Like I said there are a number of different procedures for doing this. If this one isn’t the proper one have a look through your owners manual; it should explain it there.
Dan.
Canadian "EH"