Earthquake Retrofitting is a mean of deciding where the ground in stable enough to build on in earthquake prone areas.
Actually it is done to avoid huge damages that may be caused by the earthquake in the earthquake prone areas. Modification to the existing structures of houses is done. This make the homes, buildings etc more resistant to the ground motions, thus decreasing the chance of losses during the earthquake.