This is a phrase used to excuse something stupid you said or something rude that you did not intend to be rude.
A friend: wait why did you say that?!? You: My wits are flowing today. *shrugs* A friend: ah okay you good then.