The same way they did on earth: using a rocket engine attached to the lander and some fuel to power it up.
The moon being much, much smaller than the earth, and there being no atmosphere that causes aerodynamic drag, means that you need a fraction of the energy required to take off from earth. In essence, no need for an entire Saturn V to leave the moon and come back to Earth.
Latest Answers