Hi Tinkir,
if you search for a similar problem on the forums you should get some info as a start. You possibly only have a few options as below - probably dependent on how much of the paint is loose.
1. Scrape all paint back to plaster. Hopefully the tough bits will be few and far between...