Lacking much detail in the question, I'd suggest making sure the area under the deck all slopes away from the building (if it's attached to a building) or to the outside of the deck if it's freestanding, or to catch-basins and drains if neither of those can be managed. This will be lots of fun if there's only 18" to crawl around in and it wasn't done in advance.
If that's already been done, move to adding an impervious surface to clear water away more quickly. This will also be fun with that little space to work in, but it's not impossible.
Both would be better to have done in advance.
Depending on the exact situation, it may be easier to jack the whole deck up to do the work needed - or to jack the whole deck up and reset it so there's more space underneath to improve the ventilation. Especially if what you mean is that there's 18" from the deck surface to the dirt, with 16 inches of that full of framing and ~2" below the bottom of the 2x12. The other option in that case is to dig trenches between the piles.