How to make penalty for employee in payroll

how i can make penalty for lateness and for aps for and employee