You need to see a doctor right away. If your finger is infected, you may need antibiotics, or even lancing to let the pus out. Of course, there may just be inflammation rather than infection, but I encourage you to find out as soon as you can.
Best.
Dr. Rockoff