Wood turns gray because it is being exposed to water and the sun. In order to prevent your wood from turning graying, stain and seal your deck or fence every 2 years.