What steps would you take to secure a network that has been compromised?

Situational