Over the past half dozen years or so, I've had some arthritic pains in some of my finger joints. What's helped me, it being generally an inflammatory condition:
Keeping away from processed foods.
Greater amounts of anti-inflammatory foods.
Greater amounts of antioxidant-rich foods.
Greater amounts of leafy greens, "brightly" colored vegetables.
More fiber (soluble and insoluble).
Olive oil, nuts and seeds.
Modest meal and snack sizes.
Lots of water.
Daily exercise (better blood flow, better ability of body to send nutrients and eject waste products).
Targeted exercise in those "arthritic" areas (ie, my hands/fingers).
Lots of stretching, particularly in the achy areas.
Anti-inflammatory nutrition guidelines @ Arthritis Foundation. (A slideshow.)
The Ultimate Arthritis Diet @ Arthritis Foundation.
56 Anti-Inflammatory Foods for a Healthier Body @ HealthyWholeness.
For me: vegetable heavy, lots of leafy greens, lots of fiber, moderate amounts of certain fruits, a good olive oil, seeds/nuts, little to no "processed" foods, lots of water, modest portions and meal sizes, more of a "grazing" approach than a "big meals sit-down" approach.
Helps, for me. But then, I've got a mild case. Won't always be that way, I'm sure, but it definitely helps currently.
If, after six months of this sort of change, you don't find improvement, then definitely seek your doctor's advice. Perhaps consider specific allergen/inflammatory-foods tests to see if you should be avoiding certain foods that your body's reacting poorly to. (I know someone who did these tests years ago, and she's experiencing few of those earlier arthritic/inflammatory pains and problems she once did. In her case, that made all the difference. She's in her mid-80s, and wonders if she'd made those changes 40yrs ago whether she would have any aches of that sort whatsoever. Anecdotal, sure, but in her case it was a change with rapid improvements and reductions in aches.)