If the nail has been torn loose out of the nail bed it can lead to an infection in the toe. Dab a bit of Neosporin or triple antibiotic ointment around the base of the nail to help prevent infection and protect the healing tissue. If the keratin of the nail itself was broken but the base of the nail is OK, it's not a big problem. However, the most common reason chams lose their nails is getting them snagged in fine screen mesh. Chams climb the cage screens if they feel too confined or don't have enough branches to roam their entire territories.