It doesn’t matter whether you leave the heat lamp on or off, but you definitely want to leave the light on during the day. This way, your bearded dragon will be able to bask without feeling too hot.