dont know how to make main menu work after i return to it from pause menu

i have a problem im a begginer and im having problem with going from pausemenu back to mainmenu bcs the mainmenu after it shows up not working