That problem is common in time travel scenarios. In Michael Crichton's novel "Timeline," one group of scientists travels back to the year 1357, where they (of course) get into trouble. A second group of scientists is sent back to rescue them. I thought, "Why not just send the second group to arrive just before the first group arrived?" The second group could warn the first group, and they could both return to the present immediately, avoiding the trouble. Unfortunately, that way the storyline both occurred and did not occur.
I suspect that time travel, if it is possible, requires a multiverse.
So how do you go about getting the earth back exactly where it was in the universe 500 years ago in time?
I'm thinking that's pretty much hard to do.