The way that researchers are doing this is by infecting pathogenic bacteria with their own viruses, more specifically, bacteriophages.
How have researchers been doing this?
infecting pathogenic bacteria