GMC ACADIA CHECK ENGINE LIGHT PROBLEM

2002 GMC Acadia • 177,777 miles

My gmc envoy starts up but right away have to push the gas peddle or it will turn off and ehen I come to a stop the car has like no power to drive goes about 5miles only until I turn it off and start it what could this be.