Thanks for your question.
You might have got a fracture of some bone in the hand so you should visit ER to get it examined and investigated by xray. You can take pain killers like Tab Ibuprofen meanwhile but final answer is ER visit as the selling and inability to bend the fingers make fracture likely however sometime severe soft tissue trauma can cause this also. Keep your hand elevated by the side of your chest meanwhile.
I hope this helps you.
Click ACCEPT if you are satisfied