Why does everybody want to know how to clear codes? If you fix the problem, the Check Engine or Service Engine Soon light will go out immediately and the code will clear all by itself within 25 ignition cycles, as long as there is no re-ocurrance. The CE (or SES) Light is there to tell you there's a problem. If you clear the code(s), but don't repair the problem, it will turn back on within three ignition cycles.
Get a code reader, write down the code number(s), then find appropriate service information on that number. Follow the diagnostic trouble tree until you isolate the problem device or open/shorted circuit and effect the repair. Then, restart the engine. Once the ECM runs it's routine, post start diagnostic and passes, it will turn off the CE or SES light and religate the code to history.