I just bought a 2006 Pontiac G6 GT 3.5 l OHV with 140,000. The guy I bought it from had it sitting…

Jd2121

I just bought a 2006 Pontiac G6 GT 3.5 l OHV with 140,000. The guy I bought it from had it sitting in his driveway for a year and a half. Once we jumped it it started up, I let it run for about a half hour before driving home. On the way home it died out like 4 times, it would start right back up no problems and then suddenly loose power I go to step on the gas nothing. There was under a quarter tank of gas in there, so the next day I put some rislone in there and filled it up. Now it seems to die once AFTER CAR REACHES NORMAL OPERATING TEMP. I'm not sure if that means anything or if it's just dieing random. I had the check engine codes read and there were 7 all saying P0174 and P0171, so the same 2 codes 7 times. I'm not sure were to even start on diagnosing the problem here. I'm not sure if this means anything but the power locks dont work and also I can tell when the car is going to loose power because the heater will go from blowing fast to slow and u can feel it gaining and losing power because the blower will go fast then slow then the car will power off. I'm not sure what's going on. Is this electrical or is it bot getting fuel? I would appreciate ANY insight on where to start of diagnosing this issue or issues.