Now, assume that by mistake the word you right-clicked was "Nagnus". To tell Pages that you made a mistake that should be forgotten, you right-click the word and this time select "Unlearn Spelling" from the menu.

This technique applies to TextEdit as well.
In older versions of Apple's software, you could unlearn words from the Spelling dialogue box, but with current versions, the way to go is right-clicking.