What are primary and secondary effects?

The Primary effect: the immediate consequences of the earthquake. For example the collapse of buildings and the derailing of trains.