Turn off other applications on your computer and other computers in your network to tell if they are the source of the problem
Prefer DSL/Fiber over cable internet
Make sure it is not a DoS/DDoS attack on the server (did it ever work before, do other servers work fine?)
Try ping -t ger2.ddnet.org in cmd.exe for a few minutes, stop it with ctrl-c, and check the if the ping jumps there too or you have packet loss
Try to trace route the connection to the DDNet server (using tracert ger2.ddnet.org in cmd.exe) and see if there is bad routing (ask your ISP to fix it)