In the USA we used to just spray sludge, but that's largely been banned. A shame because it works really well and scales with population.
The only safe measure is heat-treatment, but that is usually too expensive. In particular, it is more expensive than just using artificial fertilizer.