what biological defense mechanisms do humans have against infection

What biological defense mechanisms do humans have against infection? What preventative or prophylactic measures can be used?