How early?

How early can you find out what the sex of your baby is.