Rheumatoid arthritis is an autoimmune disease. This means your immune system (which usually fights infection) attacks the cells that line your joints by mistake, making the joints swollen, stiff and painful. Over time, this can damage the joints, cartilage and nearby bone