A spontaneous stupid (Stupid the noun, not stupid the adjective) usually accompanied by loss of train of thought and saying something fantastically stupid without realising it.
"Hey, what are you doing?"
"Hold secondary fire and the screen will change"
"What the hell?
"?? Oh, uhh... brainfart"