DDoS itself can't really be learned. You can, however get into networking and the way packets are sent.
DDoS scripts exploit the way some packets work to take down 'servers'.
For example, SYN is a 3 way handshake protocol.
They open a connection and say hello to the server,
the server says hello back, but the script doesn't start a conversation and just shuts up.
Making it awkward for the server.
The server waits for a response and after a longer time the server gives up on the packet.
This is known as a Layer 4 attack in the TCP/IP model.
Like I said, this is networking rather then hacking
Read more about the methods here:
http://en.wikipedia.org/wiki/Internet_protocol_suite
If you want to just take down a simple server that really get into hacking, I suggest purchasing a booter or stresser.
One I personally suggest is:
https://hackforums.net/showthread.php?tid=4407021
Vital Stresser is a stresser which I personally have helped code & fix.
It's power is 100% true and you'll find it quite a powerful stresser.
On top of this, DDoS means Distributed Denial of Service. It's basically waiting at a train stop with 1000's of people.
Train arrives and only one door opens. 1000 people will have to go through 1 door.
I suggest you learn about a few simple things before getting into actual DDoS, because not only is it quite hard,
it's also illegal if you don't have permission to test that server. You can be traced, and will be jailed if done wrong.