Why are most pathogens prevented from entering the body?

i think because your body's external defenses wont let them enter...X_X~