How to deal with a write up at work, when its your fault and when it isn't.