Lymphocytes detect the foreign pathogen and create anitbodies
this can take a few days which is why you feel sick
antibodies cause pathogens to stick together which makes them easier for white blood cells to engulf them
the body rememberers the antibodies and replicates them much quicker in future