Pets can occasionally get infections of the nail bed especially if there is recent trauma to the nail compounded by moist environmental conditions. Nail bed infections can be very painful and require veterinary treatment.