Finding out gender ?

Hope

When do you find out the gender through an ultrasound? I’m not able to take the blood test so I didn’t know when was the earliest I could find out