If a nail cracks, you should see a veterinarian as soon as possible. The vet will apply a bandage to the toe or the whole paw.
As first aid, you can clean the nail with chlorhexidine and put a sock on the paw while you are on the way to the clinic.
A cracked nail is painful, and your dog may not want to step on the paw, so this injury should not be ignored.