You can ensure your course is followed in the correct order, go to Course Settings and Progression.

You can then toggle if you like to enforce the lesson order (this includes a quiz) and if you would like to issue a certificate on completion of the course.
Once your settings have been added or updated, select Update course.