While leaving a light on for a few hours is generally safe. It's important to avoid leaving bulbs on for extended periods of time or leaving them on when you are not home. As this can increase the risk of fire.