Boy or girl ?

Heyy mamas

I wanted to ask , when can i for sure know what i having ? & can a boy stuff not show in week 16 ? Cuz i did my ultrasound yesterday Dr said it's a girl but she had a hard time seeing it :/ ! I'm going again on week 21 but from ur experience did anyone got a mistake gender during week 16 ?