How can organizations prevent network attacks?

How can organizations prevent network attacks?