You can either try disconnecting the battery for a couple of minutes or buy a scanner that will do it for you.
But if the light is on, there's usually an error and the light will be back on after clearing it very quickly.
If the light is on because of the problems with the Oxygen sensor (Lambda sensor) then it should go out in 2 or 3 days because you have a new sensor now.