In Iraq? Setting up a stable government so the Iraqis can run a country for themselves without a fascist dictator. The liberal media won't show it, but my multiple friends who have been there say the general population of Iraqis love America and the troops there for helping them. The Iraqi Army is starting to stand on there own feat and fight and die alongside American troops for THIER country.
Afghanistan- Fight off an insurgency coming from Pakistan long enough until the ANA and ANP can fight it on their own. Same as Iraq, the media won't show it, but village elders are turning in insurgents at an extreme rate and generally like the roads, schools, hospitals, and other things American troops build for them.