Best preventative I've found is to get the slabs stickered & stacked ASAP, to get the surface MC on the way down, at least. On some sugar maple recently, initial drying conditions weren't great. Some of the faces got fuzzy with fungi. Really fuzzy.
I ran them through a planer for a couple passes (helped with thickness consistency too). That trimmed off the surface fuzzies, and the lumber continues to dry nicely.
I've seen it written that a prime motivator for drying lumber is to retard fungal growth. Get the MC down enough, below fiber saturation, and they're history.