Would need more information.
Was there an injury? If so then you may have dramas ged bone or soft tissue structures in the finger. If no injury, then arthritic, inflammatory, and even infectious causes are possible. I would not hesitate to be seen for an accurate diagnosis.