There are so many things that can be wrong. The best place to start is to have a computer diagnostic machine hooked up to the vehicle and scan for codes.
It may be a simple O2 sensor but, it could be more involved however, we need more information to help you get more answers.
Gerald Wheelus
Edgewood Auto Parts #253
Edgewood, Texas