If a major tune-up has not been done recently, this could be the cause of your problem. Replace the spark plugs, plug wires, fuel and air filters, etc. Also, replace the oxygen sensor. In addition, service the fuel injection system. Clean the carbon deposits from the throttle bore and idle passages. Also, check compression.