Normally, serotonin diffuses across the synaptic gap to receptor sites.
People with OCD have a problem that serotonin doesn't stay in the gap long enough.
SSRIs attach to the pre-synapse and block reuptake.
Serotonin is an excitatory neurotransmitter (EPSP) so puts positive sodium ions into the post synapse which depolarises it.
Serotonin calms the nervous system, which therefore improves mood and reduces anxiety which is experienced by OCD patients.