Depending just where the damage is on the cord you have two options - shorten the cord and fit a new plug on what's left - remove the cord and replace with a new one.
Which route you follow will depend on the length of cord you need for normal safe operation.
Good luck...
Peccavi, December 2009