Baby is Breech at 31weeks

Juliet

I’m 31weeks and I had a scan today , baby’s head is up (under my ribs) and legs are down. What’s the chance of baby turning before 36weeks? I’m concerned.