Upon Relese goto and stop

Hey,

I have forgotten the code for it where the user can click a button and the button will contain a code that is like the user clicks it and it goes to another frame

Can you tell me the code?