Pernicious anaemia is an autoimmune condition that affects your stomach. An autoimmune condition means your immune system, the body's natural defence system that protects against illness and infection, attacks your body's healthy cells. Vitamin B12 is combined with a protein called intrinsic factor in your stomach.