A bad sound and witholding in acceleration

i have a 1991 chrysler grand voager, recently i noticed that when i accelerate the car witholds its speed , and the car can not move as accelerated,and next the dash board reads - check engine. i have changed the fuel filter and the problem is still there.Emmanuel