how to fix lag when streaming with obs Minecraft Servers

how to fix lag when streaming with obs