When is the earliest you can find out the gender

Jess
Hi ladies I'm a first time mom and I'm just wondering when is the earliest you can find out the gender and how early did you find out.