Answer :
A pathogen would first try to infect the body and the body tries its best to defend against the pathogen but when it fails you would be infected and fall sick BUT if you are exposed to the same pathogen when you have fully recovered you would have a slightly better immunity against that pathogen since your body had fought it before