You want to wait for a dry forecast to apply deck stain. If it rains before the stain has had time to fully cure, it can peel, flake off, or result in a splotchy surface.