An employee just told me that they have a mental illness, what can I do?

You need to support the employee.  The employee has come to you as they trust you and would like you to help them.

Refer the employee to the Company Employee Assistance Programme (EAP) if you have one.  Alternatively, organise an appointment with an Occupational Physician.

At all times ensure the employee is fit and healthy for work.