Autoimmune disease happens when your immune system mistakenly attacks your own tissues. Hypophysitis and hypopituitarism are two examples of such conditions.