Choose a best location that is away from the fault line. You may checks some fault line maps online. The farther way from it, the better
Developments which is built on a sturdy foundation is better than those built on soft soil. Some developers correct this by placing piles to create a better foundation for the buildings.
Your condo unit/building should also have an Earthquake Insurance so your investment will be protected if calamities strike.