Basic Programming Question

Yeah I want the program to run only once every time the button is pressed.