onClipEvents, easy question

How do you cancel an onClipEvent(enterFrame)? do I have to go to another scene? Or is there a line of code to remove it. PLease let me asap, thanks.