OUCH!

I would think ice would be most helpful at first to reduce swelling and bruising.

I hope your finger feels better soon!