You can repair water-damaged drywall by removing the peeling paint with a paint scraper, and then sanding it down to a smaller grit. Then prime and paint your drywall. Wait until it's completely dry. If the drywall surface is hardly exposed to moisture, the best way to repair it is to cut out the damaged area and patch it with a piece of plasterboard.