Notify Your Employer: The first and most crucial step is to inform your employer or HR department as soon as you become aware of the overpayment. You can do this verbally or in writing, but it's a good practice to create a written record for documentation purposes.
An employer is legally entitled to recover any overpayment of wages, either during the currency of the contract of employment, as well as after the employee's contract has come to an end.