Question about audio files

Does anyone know of a way to prevent or decrease this kind of effect in the future? Certain camera settings, maybe?