flow in bookings

hi team, warm greetings.

I created a package with multiple sessions, the main question is how to control the flow in practice, so the client cannot book Session-2 before completing Session-1.