What should be done with previously painted surfaces in poor condition?

What should be done with previously painted surfaces in poor condition?