Welcome to HCM,
it seems that you might have fracture
in one of finger bone of little finger as your history suggests.
Go for Xray and if fracture is found then go for supportive slab or plaster.
Consult orthopedic surgeon.
Mean while you start analgesic
and antibiotic medicines.
Immobilize the finger.
Ok and bye.