by typing /ns register password email
You have to confirm the email address. To do this, follow the instructions in the message sent to the email address.
The password is a case-sensitive password that you make up. Please write down or memorize your password! You will need it later to change settings.
ie. /msg nickserv register 1234567 email@example.com