The pain of swollen and deformed finger joints may be related to rheumatoid arthritis, osteoarthritis, trauma and so on, and the cause should be clarified and then treated according to the cause. 1. If rheumatoid arthritis is the cause of the swollen, deformed and painful finger joints, anti-rheumatic drugs can be given for treatment, such as methotrexate, leflunomide, elamectin, etc., or several kinds of drugs can be used in combination, such as leflunomide plus methotrexate and elamectin plus methotrexate. 2. If osteoarthritis causes the pain of swollen and deformed finger joints, non-steroidal anti-inflammatory drugs can be given to relieve pain and swelling, such as ibuprofen extended-release capsules, celecoxib, etoricoxib, etc. 3. Finger ganglion swelling and deformation pain may also be trauma or sprain, this time should be localized for braking, avoid activities, rest, if necessary, can be given non-steroidal anti-inflammatory drugs to relieve pain, swelling. There may be other reasons for the swelling and deformation of the finger joints, so you should go to the hospital in time to find out the reason and give the right treatment. All of the above medications should be used under the guidance of a doctor, avoid self-medication.