how many weeks till u know what u having

Im 10 weeks how much longer do I have to wait till ik if its a boy or girl