Bad gasoline?

Originally it would not move 1 inch when I pressed on the gas. I had ZERO acceleration. Now it struggles some but then goes fine. Although at certain times I still have the ZERO acceleration issue but it goes away now after a few seconds whereas before it was permanent. After a few seconds and a pump or 2 of the gas peddle it goes ok and picks up speed.