Acute swelling of joints could be a serious problem. You may have an 'auto-immune' disease where you are making antibodies to your own joints (example=rheumatoid arthritis
Simple blood tests can sort this out. The fastest test is a 'sed. Rate' (&crp) and if elevated highly suggests an auto-immune disease. I recommend getting to your doctor right away, then you may need a 'rheumatologist'.