gender of the baby

my boyfriend thinks already the baby is a boy and we have not even gotten our first sonogram

is there a way to figure out the gender of the baby