After drying out the bathroom with fans and dehumidifiers, we removed wet baseboards, wall boards, drywall, and more to handle structural issues behind the walls. When those were corrected, we installed replacement flooring and finish-outs.