In order for the body to fight off the attack of antigens, it creates substances called antibodies. Antibodies counter the action of antigens and make the bacteria harmless. However, the immune system must learn how to make the right antibodies for the right antigens. This is done by giving vaccines.