A complex number $w\in D$ is a fixed point for the map $f:D \to D$ if $f(w)=w$.
Prove that if $f:D\to D$ is analytic and has two distinct fixed points, then $f$ is the identity,that is,$f(z)=z$ for all $z\in D$.
If $f(0)=0$ , I can use Schwarz lemma to show that $f(z)=ze^{i\theta}$ and $\theta=0$. How could I deal with the condition when $f(0)=z_0 \neq 0$.