Freezing when playing games and voice chatting over discord

When using discord and any app other app it starts to freeze up a little… not long, most oftenly when starting to talk or stopping to talk.