Have had several pilots class 1 and 2 who have either been on one of the approved SSRIs and returned to flying whilst on the medication and/or returned to flying after coming off the medication.
The full guidance is available on the CAA website which includes a flow chart with the steps to go through.
Your AME would be your first point of contact.