What’s the best way of replacing an old ceiling?

We had a leak from the roof and the whole of the ceiling is damaged and needs taking down and replacing. The ceiling has been in since the house was built (a few hundred years ago!) What’s the best, most cost effective way of replacing the roof?