What to do with a damaged banknote?

Further information on this subject can be found on the following page: Exchange of euro banknotes and coins