It is quite possible that you have a fracture of the bone.
I would recommend that you see your doctor to get an x-ray. Occasionally, hand fractures need to have some casting or repairs done to keep the range of motion from being impaired.
Advice and opinions given are based on the information provided and must not be considered an official medical recommendation. The limitations of the internet prevent an appropriate evaluation. Always consult your doctor if there is concern.