Genetic testing

Hi there, I’m seeing a lot of post where some women would find out the gender as early as 12 weeks. Every time I ask my doctor to find out the gender, she either gives me weird looks and tells me to wait till like 20 weeks.... how do I request a genetic test? Or is it the doctor that request it? I just want to know so I can buy baby clothes accordingly.