only 23mpg, and PO171 every 1000 miles or so, whats the deal?

thanks for any advice on solving this on going problem.