Depending on the dog, you can pop it out yourself with your fingernail. I did Rob Roy's (corns on 3 feet) by myself.
Mahogany, however, needs to go to the vet and be sedated because she is a screamer and goes into a full blown panic attack. The rate it comes back differs. I wish my vet had a laser!
Soften it with bag balm.