Defense mechanisms that either prevent or slow the entry of infectious organisms, or attack them if they do gain entry, are called

Q&A Platform for Education
Platform Explore for Education