Running fine then died, now won't get up rpms? on 2002 Nissan Xterra

Ran fine then died engine light came on. Now when give gas the rpms are not going up. It seems to be sputtering.

Asked by for the 2002 Nissan Xterra
bring it in for diagnostic run. poss. tune up needed. poss. fuel issue(pump maybe). diagnostic should confirm any issues.
1 more answer
Possibly clogged fuel filter