Audio stuttering and popping

Hello, I’m new to kodi, my friend put it on my computer for me which is windows 10. A short way into the film the audio starts popping and creating a static sound. Does anyone know how I can fix this?
Thank you so much in advance 🙂