You stop being an employer when you no longer have any employees.
In this case, you do not have to do anything. The Social Insurance Agency will send you a notification of termination of registration in the employers’ register. This is done when you deregister the last employee.