Shut off the supply valve and drain the tank (flush it). Scrub the inside of the tank with a 1:4 solution of bleach/water, and let the walls dry out. Clean out any sludge that may be hanging out in the bottom of the tank. Turn on the water supply and fill the tank. Add 8 oz. of bleach and let it sit in the tank overnight. That should sterilize the tank. Algae should not grow in your tank unless there is organic material contaminating the tank and unless the tank is hardly ever flushed. For added protection, you might want to place one of those bowl cleaners in the tank (they usually release a ble color into the water). Make sure that the manufacturer does not prohibit this, and use one that contains bleach (sodium hypochlorite).
NtP