car is using a lot of fuel and idling badly only getting 20 miles to the gallon on 1998 Ford Escort

what could be the cause of this

1 answer
scan codes and post also look at fuel trim for poss issues