Please make sure you have added the pages by go to Pages in the backend and then go to Appearance >> Menu >> Here you can create menu name “primary” and add some pages and check the below checkbox as theme location primary. So the pages you have selected will be displayed in main menu.