A vaccine presents a recognisable target to the immune system, which can build a specific response and memory. On later exposure, memory cells can help the immune system respond faster. Vaccination reduces risk, and protection varies by vaccine and outcome.
Active immunity develops when a person’s own immune system responds and can form memory. Passive immunity occurs when a person receives ready-made antibodies. Passive protection can act quickly but is usually temporary.
Antibiotics treat certain bacterial infections by killing susceptible bacteria or limiting their growth. Viruses do not have the bacterial processes targeted by these medicines. Some bacterial infections recover without antibiotics.