The distance between the heat lamp and the basking spot depends on the wattage of the lamp and the desired temperature. As a general guideline, the heat lamp should be positioned 6 to 12 inches (15 to 30 cm) above the basking spot. However, it is crucial to regularly monitor the temperature at the basking spot using a thermometer and make adjustments as needed to maintain the appropriate temperature range.