Hi,
There is something called instant booking that some teaxhers have activated. If so, then you can book a lesson as soon as possible. If not, it needs to be I think 24 hours beforehand.
And by the way, this option activated after the teacher has had their first 30 lessons.