Gender at ultrasound

Clarissa

How early can you find out the gender by an ultrasound? I asked for the blood test but my doctor won’t order it.