It sounds like you have a vacuum leak or the engine needs to be tuned up. Lets start with the vacuum leak, here is a guide that will help you find the problem.
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.