Remove as much of the loose paint as possible using a flexible scraper with a good sharp edge. Prime the affected area with zinsser bulls eye 1-2-3 or zinsser gardz high performance sealer. Skim coat the area with a good quality filler, toupret interior filler is perfect for the task.