My car hesitates when I try to accelerate

It’s a 2004. The check engine light does come one periodically. I was told that it was because the fuel is too rich and the car uses to much gas. This is why he changed the spark plugs.

Let me try to give a better description. I hit the gas, and the RPM shoots up to 3 and the needle goes down from there. As this is happening, the car moves forward a little with with little to no power. It’s as if a rush of power hits the car and immediately dies down. Once the RPM gets to 1000 the car is able to accelerate.