It could be the Throttle Position Sensor (TPS) is bad. Get a Chilton or Haynes Manual for your vehicle from your local public library and learn how to manually retrieve and translate the computer's troubleshooting codes. If the problem is the TPS, the manual will also have instructions on where to locate it and how to change it. It's a fairly simple procedure to do the job.