Pontiac Grand Am 2003

J’avais le message « change oil » sur mon dashboard.
La procedure pour la faire disparaitre est ci-dessous
To get it off I had to turn the key to the on / run position, but I did not start it. Then I had to push the gas pedal to the floor three times within 5 seconds. The change oil light went off after a few seconds. I turned the car off. I then restarted the car and the change oil light did not stay on.