You may have got fracture
in your carpel bones or fracture in the phalanx bone ,it might be a hair line fracture.And even your nerve
would have compressed between the bones.I suggest you to get a x-ray and meet an orthopedic for further treatment.Till then apply cold
pack and take pain killers like ibuprofen
this will reduce your pain and swelling. Take care.