how to stop pc lag when using discord Minecraft Servers

how to stop pc lag when using discord