Suppose that $f^2$ and $f^3$ have zeroes of order $n$ and $m$ at $z_0$, so that $f(z)^2=(z-z_0)^n g(z)$ and $f(z)^3=(z-z_0)^m h(z)$ near $z_0$, with $g$ and $h$ analytic functions such that $g(z_0)\neq0$ and $h(z_0)\neq0$.
Then $f(z)^6=(f(z)^2)^3=(z-z_0)^{3n} g(z)^3$ and $f(z)^6=(f(z)^3)^2=(z-z_0)^{2m} h(z)^2$. It follows that for $z$ near but different from $z_0$, $$(z-z_0)^{3n-2m}=\frac{h(z)^2}{g(z)^3}.$$ Since $hg$ is not zero near $z_0$, the right hand side here is as analytic near $z_0$ and does not vanish there, so that $3n=2m$. In particual, $m=\frac32n>n$ and the quotient $f^3/f^2$ is analytic at $z_0$.