If you make a mistake you can be sure a lot of the players know it. Best to say you got it wrong straight away -and apologise; either overturn the decision or re-start with a scrum. Deflect any negative comments with 'you never made a mistake? at least I admitted it; And if players stopped shouting at me I might make less of them' (stop them appealing please, and the sooner, the better for everyone))