Help on game menu

Okay, i need help.

For some reason i cant get my flash to assign an action to a button. I want to make a game menu but i cant assign actions to the buttonss. It says

Error Scene=Scene 1, layer=main menu, frame=49:Line 1: Statement must appear within on handler
gotoAndStop(58);

how come it wont work?