When a speaker says something that is unimportant, she may say “never mind” instead of repeating or explaining what she just said. A speaker might also use the phrase when he changes his mind.
https://www.grammarly.com/blog/commonly-confused-words/nevermind-or-never-mind/

