You should not leave aquarium lights on 24/7 as it will lead to an unhealthy tank with distressed fish and excessive algae growth. Instead, only leave the lights on for the appropriate length of time for your tank, typically around 8 hours a day. You can use a timer to help you maintain an adequate and consistent photoperiod.