How to delete an Employee record

When trying to delete an employee record, it says it can’t be deleted as it is related to the contact, and the contact can’t be deleted as it is related to the employee.How to remove the relation between them and then delete?

Any help would be appreciated.
Thank you.