I have had an issue with my pointer finger on my right hand for a couple of years. It gets swollen from the tip to the first crease and is very painful at times. Under my fingernail will seem to have an infection and sometimes puss or blood will come out. This only happens every so often and my nail will be discolored. About 2 weeks ago it became swollen the whole way down my finger and now my nail is almost completely white and seems like I may actually lose it this time.
In my opinion it could be fungal infection of the nail bed. Try keeping your hand Chat Doctor. Also repeated infections could be due to a weak immune system-like a diabetic state. Can consider getting your sugars checked.However, if it is persistent, subungal tumor might be needed to be ruled out