make sure that you have already put scenes in build settings
if you have not follow these steps:-
go to files:-
click on build settings:-
go to your scenes directory in unity:-
drag and drop scenes in an order:-
now try:-
Here you go :) Consider liking Please ,,Thanks