When you put your plant into the flowering stage it will show its sex either a male (with pollen balls) or a female (with a few whitish hairs). I would suggest looking up pictures so you can tell as soon as possible. You don't want the males to release pollen and cause your buds to produce seeds.