If you were an astronomer and you discovered a doomsday object on a collision course with Earth, what would you do?