Keep the lamp approximately 2-3 cm away from the teeth to ensure that the light is evenly distributed across both the upper and lower jaws.