Get a better internet connection or play on a server that is closer to you.
Ps. if you have a good internet connection, it might be your firewall, or your distance from your router. If you think your router is the problem try using an ethernet cable to connect.