If you were incorrect do not let self-doubt creep in because that will eat you up. You will start second guessing yourself at every turn. One wrong answer does not mean you have to rethink everything you do. In fact you may not be wrong … you may have a different opinion that is as right as the person that challenged you. There is more than one answer to a question. It is a matter of preference.
Then there are times we make a wrong decision but what if you had never made a decision at all I believe that would be even worse.
So when you start doubting yourself remember all the times you gave good answers, turned in great projects and met your deadlines. We are all only human!