A basking spot
A lamp over one end makes a warm place to bask. The animal moves between it and the cool end to set its own temperature.
Shop basking bulbs
Reptiles warm and cool themselves by moving, so an enclosure needs a warm end and a cool end, not one temperature. Many also need UVB light to use the calcium in their food. Exact temperatures differ by species: check a care sheet for yours.
These are separate jobs. One lamp rarely does all of them well.
A lamp over one end makes a warm place to bask. The animal moves between it and the cool end to set its own temperature.
Shop basking bulbs
UVB lets many day-active reptiles make the vitamin D3 they need to use calcium. Tube lamps spread it along the enclosure.
Lights on for the day and off at night, every day. A timer does it more reliably than memory.
Shop timers
If the room gets cold at night, a ceramic heat emitter adds warmth with no light, so the animal still gets darkness.
Shop ceramic heat emittersSet everything up and run it for a few days before the animal moves in.

Animals bask where it is warm, so that is where the UVB should be. Leave the other end cooler and shaded, with a hide at each end.

Use a thermostat compatible with each heat source and its fixture. A separate UVB lamp belongs on a daylight timer, not the heating thermostat. For a combined lamp, follow its specific control instructions.

Use the lamp maker's chart for your lamp, fixture and screen, measured to the point the chart names, such as the animal's head or the top of its shell at the basking spot, not to the floor. Care sheets give a target UV Index for many species, and a UV Index meter confirms it. Check the closest point the animal can reach too, such as a high branch, and give it a shaded place away from the UVB.

Use an infrared thermometer for the basking surface and digital air probes at animal height on the warm and cool sides. Check both during the day and after the lights go out.

Adjust one thing at a time. Stay within the fixture wattage and the lamp maker's distance limits, then recheck temperatures and UVB placement before the animal moves in.
Heat lamps run hot enough to burn an animal or start a fire if they are set up carelessly.
Use a fixture that both the bulb's maker and the fixture's maker approve for that bulb or heat emitter, and check its wattage, mounting and clearance limits. A ceramic socket alone does not make a fixture safe for a ceramic heat emitter. Fix the lamp with a stand or mounting hardware so it cannot fall or shift, and keep it clear of anything that can melt or burn.
Mount a lamp outside the enclosure if its maker requires it. Where a lamp is allowed inside, fit a guard that keeps the animal off the bulb and the hot fixture, and check it cannot climb to them.
Use a mat approved for the enclosure, on a thermostat, with the air gap its instructions call for. Follow its limits on bedding depth, hides and water, and on whether a basking lamp may shine directly over it. Keep a cool area and check the hottest surface the animal can reach.
Shop heat mats