We had similar issues, only way to resolve it for our situation was
Make sure the exhaust vents are clear and working firstly!
Use a blade scraper and get rid of all flaking paint
Lightly sand
Leave to dry out if there is any moisture in the ceiling at all
(I.e. 2 hot showers twice a day will...