How do you secure a network against DDoS attacks?

Situational