Minecraft lagging on online servers?

My mineraft runs smoothly in single player, but when on online servers (Wynncraft, Hypixel, HiveMC, etc), it lags like hell anyone have an idea on how to fix it?
Laptop specs:
AMD A8-6410 APU with AMD Raedon R5 graphics
8 GB RAM
Running Windows 10 64 bit

Try getting the mod optifine.
Also try to go on servers that have less people online, because the more people who are on the server, the more lag there will be.