This disclosure provides methods and compositions to inhibit or prevent infection of a cell by a bacteria that exports DNABII proteins by administering to a tissue infected with the bacteria an effective amount of an antibody that specifically recognizes and binds the DNABII proteins, thereby inhibiting or preventing infection of the bacteria. Treatment methods, screens and kits are further provided.