The correct phrase is "on the planet."
When referring to the surface of a planet, we typically use the preposition "on." For example, we say "on Earth," "on Mars," or "on Jupiter." This usage implies being physically located or situated on the surface of the planet.
Therefore, if you want to indicate something related to the surface or location of a planet, you would use "on" rather than "in."