hello Sarah, alrock is correct with the fuel additive and the biggest thing is the throttle body cleaning. what is happening is the vehicle has a idle air control which is part of the trottle body and when it gets dirty it gets slow to react to what the PCM is doing with it, it is more technical then that but tried to make it simple to understand for you.
on the good side, your head is most likely fine, when you have that issue, the check engine light comes on and will store codes for cylinder misfiring on random cylinders.
one other thing to do, and General Motors released a technical service bulletin for this issue is to use only top teir fuels in the Hummer H2 and the H3. we have seen a lot of issues when vehicles that are running lower teir fuel like rough idle, hesitation and poor throttle response and surging idle. some of the top teir fuel stations are cheveron, shell, 76 lower teir is moble,BP and arco.
let me know if you need any more info,
mike s.