Any agent that removes, kills, or inactivates disease-causing organisms before they can cause infection.