Galaxies in clusters: Gas stripping and accretion