There are two kinds of lag you may experience and depending on the ‘lag type’ will dictate how you go about resolving the issue.
First things first, check your console - if there are major errors they'll appear here as SEVERE errors within your console. You'll need to troubleshoot these errors first - if you're having issues understanding the console log let us know.
If you’re running a bukkit / spigot / paper / purpur server the first things you should do is adjust the default configuration variables, we’ve made an effort with our default deployment to include some ‘one size fits all’ configurations but as your server grows you may need to adjust these further.
Note: If you're running 1.13+ it's recommended to pre-gen the world as this will help lower CPU usage when exploring the world.
Unfortunately, this isn't as easy to fix, this depends on how far you're from our datacentre in England or Germany. If your ping is high you can raise a ticket to request migration to a datacentre that's closer to you.
Note: you will get a new IP when transferring nodes.
Latency Guide