Try /nickserv help register

It should tell you what you need to do.