High IgG

I have Sjogrens. Lab test now showing high IgG. How do they know if it is from my autoimmune and not from any cancer. What I am trying to ask is how they rule out cancer?