Sequential button availability

how do i set up the script so that the user has to click one button before another button will operate?