The low humidity in airplane cabins tends to dry out the sensitive mucus membranes in the upper airways where viruses and bacteria can take hold.
The advice is really just common sense – stay hydrated, get up and move, and keep washing your hands. Carry tissues and hand sanitizer along with your other travel essentials and pre-order your meal to get more fruits and vegetables.