plenty of things can cause this
edwards suggestion is certainly a problem to check
also you might want to:
look for vacuum leaks
check the ignition system
check the engine sensors
check your grounds
check the connections at the ECM
but first and foremost are there any DTC's showing up on the display?
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.