In Logic Pro, navigate in the Audio File Editor to the section of the waveform you want to correct.
Tip: Pops and clicks are often the loudest part of an audio file, so you may find the Functions > Search Peak command useful when looking for them.
Use the zoom sliders to magnify that section of the waveform, then use the Pointer tool to scrub the audio around the pop or click.
This action helps you identify exactly where you need to draw.
Select the Pencil tool and drag from left to right (including up or down movements) to draw in a new shape for the waveform spike.
The edges of drawn sections are automatically smoothed.
Press Option to affect both sides of stereo waveforms.