A headwind or tailwind does not effect an aircraft's Airspeed, but it does subtract or add to the aircraft's Groundspeed, respectively. And, obviously, a headwind or tailwind increases of decreases the time of travel, the amount of fuel used increases or decreases, respectively.