Use a wire brush or paint scraper to scrape off all loose paint. Make any necessary repairs. Once the peeling paint is removed, you might be left with cracks or holes; these should be fixed before you repaint. Apply a patching compound with a putty knife; smooth and let dry according to the manufacturer’s directions.