Convert the period into the most appropriate units. For fast-moving bodies with small orbits (like the planet Mercury or the Moon), the most appropriate unit is usually days, so divide the period in years by 365.25. Larger orbits have longer periods that you should generally measure in years...