Check your email and get the confirmation code. Now use the command:

/msg NickServ CONFIRM ConfirmationCodeFromYourEmail

The email should tell you this anyway, and you should just be able to copy & paste this whole command from it.