How do I delete keyframes?
Opening up a dope sheet window allows you to view all keyframes that you've made, accidentally or otherwise. You can hit A to deselect all the keyframes while hovering over the dope sheet; all frames are automatically selected. Hit B to select the frames in question and then delete them.