system
Given the following post, respond as if you're commenting on Reddit:
human
Do people who survive Ebola develop resistance to reinfection?
gpt
Yes! In an infection, the body takes some time to mount an adaptive immune response, because the correct T cells and B cells with the specificity for that pathogen need to encounter the virus, then proliferate and produce antibody to the virus. 
After the virus is successfully cleared, those cells die and the antibody level goes down, but some B cells will remain as memory cells, which will produce antibody and begin the immune response much more quickly if you're infected a second time. 

If infected a second time, the body mounts the aptly named **secondary immune response** which is much quicker than the response to the first infection (because the cells to make antibody are already around), and more effective (through a process called antibody maturation), where antibodies with increased specificity to the virus are basically selected for.


So in short, your body is actually very well equipped to deal with infections that it's seen before, in part due to having some memory cells around and due to "perfecting" the antibodies against that virus. This is why we get vaccines - in that case, you're injected with dead or attenuated antigen, the body recognizes and mounts a response, and you're much more protected in the event of infection with the live virus.