Do you know if you might be suffering from one or combination of inflammatory conditions including Rheumatoid Arthritis,
Osteoarthritis, Lupus, GOUT, Tendonitis, Bursitis, Fibromyalgia, etc. There are blood tests to determine how much inflammation is present.
Lastly, try to avoid foods that cause inflammation and eat those foods that are considered anti-inflammatory - although it is controversial I have found a good diet can help minimize swelling and ease some pain.