Car is jerking when going up hills and accelerating?

Automatic or manual transmission?

Have the spark plugs been replaced? Do you know if the mileage may have gone down?