Shoulder Arthritis

What type of exercise can be done by a teenager with a shoulder and knee joint pain / arthritis?
I cannot do any exercise of upper body because my right shoulder and cannot do lower body exercise because of knee problem. I tried swim, but it also causes of shoulder pain. Have tried different doctors [...]