Rheumatoid arthritis (RA) is an autoimmune disorder that not only attacks your joints, but can lead to brain fog. Cognitive issues can develop when proteins called cytokines increase inflammation in your brain.