How is your dog today?
I agree. If the nail is hanging by a “thread” you should somehow cut it off. I had a greyhound who did that once, and you could tell it was very painful.
If you can’t get him to a vet, cut it off quickly and then put some ointment on it and bandage it up. Change...