Lupus is an autoimmune condition that causes inflammation and pain. It affects the joints, muscles and skin, and it can also affect organs such as the heart and kidneys. The cause of lupus could be due to taking medications, the onset of puberty or the menopause, after a viral infection, or it may not have an obvious cause.