Understanding pathogen behaviour