confused

so im currently 15 weeks pregnant &' im seeing some finding out the gender already, i thought you had to wait till 20 weeks or so, how many weeks could you get the gender? 🤔