https://en.wikipedia.org/wiki/Phage_therapy
Basically use dirty water, finely filter it, such that only things as big as phages remain. Put that liquid in a solution of bacteria you want to treat. Filter it again, repeat... In the end you should end up with some phage solution which specifically attacks the bacteria. If these phages don't work anymore, find new ones.
replies(2):