Paint peeling in bathroom
You'll need to scrape away all loose paint, and then skim those areas with good joint compound. Your best bet is to use a setting type compound which is less affected by moisture. 

Then you'll need to seal and paint with paint suitable for wet areas. This is often an enamel type paint. Typical interior latex is likely to blister and peel again from the moisture.