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. Sometimes the body creates antibodies that confuse normal tissues as foreign and attack them. This is called an autoimmune reaction and sometimes occurs when the body is exposed to certain bacteria.