UV disinfection is only applied at the final stage of wastewater treatment, as a tertiary / terminal disinfection process.
Typical installation points:
After the secondary sedimentation tank
After advanced treatment (coagulation, sedimentation, filtration)
Before effluent discharge or reuse