Remove the damaged wood. Add 2X4 braces on the sides. Replace with new plywood.
I've done as William suggested, and then covered the unfinished wood with waterproof film similar to contact paper.
I've also done as William suggested and then sealed the new wood with Kilz primer and a coat of latex paint to prevent the wood from absorbing moisture.