Let $S_g$ be the closed oriented surface of genus g. Let $C$ be a simple closed curve in $S_g$. Prove that $S_g$ retracts to $C$ if and only if $C$ does not separate $S_g$.
If $S_g$ retracts to $C$, by Alexander-Lefschetz duality, I can get $H_0(S_g-C)=\mathbb{Z}$, therefore $C$ does not separate $S_g$. But I have no idea how to prove another direction.