Pain to base of nail

I had a visit from a patient today that has a common problem at the base of his mail. You can see that the nail is very large and that can filled with a fungal infection or another dermatological infection and what happens when he tries to trim the nail or wears shoes and hurts the base of the nail. This is because as he hits the front of the nail it causes kind of like a teeter totter reaction and lifts up at the base of the nail. Therefore if you have a very loose nails thisay be a reason for pain at the base of the nail.