Here are some examples:
* "I was about to say something—but then I changed my mind."
* "She started to say—well, never mind."
* "The dog ran into the street—and then..."
The em dash can also be used to set off parenthetical information, although parentheses are more common for this purpose.