The process of acquired immunity is the basis of vaccination. Primary response can take 2 days to 2 weeks to develop. After the body gains immunity towards a certain pathogen, if infection by that pathogen occurs again, the immune response is called the "secondary response".