Where do earthquakes tend to occur?

Earthquakes tend to occur at or near the boundaries of tectonic plates.