They can’t work immediately because the body isn’t producing enough serotonin to have an immediate effect, nor would you want that. Over time serotonin reuptake is slowed and eventually this has a cognitive effect. That doesn’t help everyone but that doesn’t make them ineffective.