Could be your fuel pump or the sock filter thingy (Strainer?) on the end of it. I know mine's cruddy and my car will lose all power in sharp left turns even on a full tank because of it. ... Too damn lazy to replace it
Oh yeah, and check the code like tony said.