Employee worked whilst had a sick note

SOLVED

I hope you can help...

We have an employee that had a sick note that expired, but he worked on the last date of the sick note.  He was due to take holidays after that.  The following day after he worked, another sick note was submitted which included the last day of his last sick note, and also the day he worked.

He is now on sick leave and not his holidays.  Do I pay him the day he worked?  How does the SSP get processed?

Thanks in advance.