There are special cases such as headwinds, where the wind acts opposite to the planes direction. Other special cases include a tailwind, where the plane and wind are acting in the same direction. As you may suspect, the speed of the aircraft increases when there is a tailwind and decreases when there is a headwind.