This may seem obvious, but some managers don't, or forget to, close their door when disciplining an employee.
If you don't have a door to close, move your discussion to a private area away from the rest of your employees.
Some employees like to be praised in public. Some prefer to be praised in private. But, all employees should be disciplined in private.