Fixing errors

Use Error Detection and Correction (you’ll need to adjust detection settings), or Spectrum Editing.
(They can be found in the manual table of contents):

Or the Sonnox de-clicker plugin.

If none of those work well enough for you, you could try the Wavelab 9 demo, which has improved versions of ED&C and Spectrum Editing, with Audio Inpainting repair.

If that doesn’t do it, you could try Izotope RX spectrum editing, which has a “Find Similar” function, or one of the other RX tools.