2008 Jeep Compass bucks and hesitates

when I step on the gas the car bucks and hesitates before going

When’s the last time you got a tune-up?

It sounds like it is running too lean. Besides the basic tune-up idea above, check for vacuum leaks, throttle position sensor function, and fuel pressure.

Have someone check the drive-by-wire throttle system for the engine.

Such as the accelerator pedal position sensor.

To the electronic throttle body.

Tester