Thoughts as results?

Can a result be “continuing to think the thought?” For example, I have a general thought at times when someone says something I don’t know, that I “should have” known that fact. It makes me feel stupid/ashamed. Not sure what the action/result is other than continuing to think/feel this way.