the way that scientist determine when an era begins and when it ends is : Mass extinction of an organism
For example, millions years ago, the world was under the era of dinosaurs, which were simply the most superior beings on earth during that time, after they became extinct, the earth enter the era of the mammals