Soak the nail in warm water so it softens. Squeeze a small amount of nail glue onto the area where the nail broke off, and spread the glue out so that it forms a thin layer. Press the broken piece of nail gently but firmly onto the area where it broke off for 30 to 60 seconds until it stays attached.