The best way to deal with arthritis is not to get it in the first place. Osteoarthritis (OA) is not really a disease, it's much more of a condition. And in many cases, OA is a lifestyle-related condition. It is associated both with a long-term lack of activity and with being overweight.
In the sense of "use it or lose it", people who spend most of their day sitting at a desk and/or working on a computer are at risk for developing OA of the neck, lower back, hips, and knees. These same people are at even increased risk if they're overweight.
Supple joints that go through an entire range of motion are doing what they're designed to do. Given the structure of modern life, we need to intentionally work our bodies to keep them healthy and well. This means regular exercise and it means eating smart to maintain our weight at a healthy level.
What kind of exercise? Do what you like, do what you're interested in doing. Just be consistent and exercise three, four, or five days every week. And, every so often, vary what you're doing. Your body will let you know when it's getting bored.