The first step to treating such an injury is icing the injury and elevating the affected finger. Ice the injury with an ice pack, or if using frozen vegetables, wrap them with a towel first, and then proceed to ice the injury for 15-minute intervals, removing the ice and waiting until the finger returns to a normal temperature before icing again.
Be sure not to ice more than three 15-minute intervals in an hour.