Adding code to the head?

In WordPress, how do I add code to the <head>?