An aquarium UV steriliser should be switched on and running for 24 hours per day, every day. Exceptions would be setting the tank up before there are any fish in it, adding beneficial bacteria to the water, as UV light kills bacteria, or if you are using a medication that stipulates that UVs should be turned off.