knuckle?
I'd guess you stretched a tendon way out of "joint", so to speak. STretched and stressed it too much. (Th espan of thumb to ring finger is probably too long!!)
The joint is the localized site of the pain for many tendon problems. If it is tendonitis, then rest is the cure. Advil/ibuprofen will help reduce the swelling which causes the pain, but rest is THE cure.
If you choose to take advil/motrin/ibuprofen, take plenty of liquid (12-20 oz of water or non-alcoholic beverage) with each dosage. That medication is much like aspirin and your stomach lining needs to be protected or you'll get an ulcer.
--------------------
"We get old too fast, and too late, smart."