What does “Writing Someone Up” actually mean?

What are the consequences? How bad is it for the employee? Brit asking.