How can I prevent the backlight of the screen from dimming and going off?

Thanks