To reach another planet, a spacecraft must be aimed:
At the planet
Where the planet will be when the spacecraft reaches it
Midway between the two
Some distance before the planet