If your just starting one seed, chances are you won't get a female. Like evryone one above says you ought to read a book or find a tutorial/guide online. It basically goes like this:

18 hrs. of light a day and a grow formula like 10-3-3, etc. (2-4 weeks)
Then switch to 12 hrs of light a day and a bloom formula like 3-10-10, etc. (7-9 weeks)
And the last week just water to get all the nutrients out.

Growing times can vary greatly between strains.