Messing up
Consider the option to pretend nothing ever happened and deny all knowledge of the mistake. If this would not work, quickly fix the problem to escape the punishment. Involve your boss, or ask for help of others, only if it is unavoidable. Leave emotion out of it when you state your case. Shift attention from responsibility to correction : 1) explain what situation you are in 2) offer solution you may implement 3) set your timing. Suggest also how to avoid a similar scenario in the future. Don’t beat yourself up, find the humor in your mistake and move on (to another job).