Turn Something on Its Head

What does the idiom “turn something on its head” mean?

Definition: Reverse something, cause something to be done in a new way.

Example: The theory of plate tectonics turned our understanding of earthquakes on its head.