Is $\operatorname{Aut}(\mathbb{Z}_3\times \mathbb{Z}_3)$ isomorphic with $\operatorname{Aut}(\mathbb{Z}_3)\times \operatorname{Aut}\left(\mathbb{Z}_3\right)$?
From the lecture I know that $\operatorname{Aut}\left(G\times H\right)\simeq \operatorname{Aut}\left(G\right)\times \operatorname{Aut}\left(H\right)$ if gcd$(G,H)=1$ but I don't know what I can use when $G=H$ so $\gcd(G,H)\neq1$.
Can I have any tips?
No. Note that we have $\text{Aut}(\mathbb{Z_3}) \cong \mathbb{Z}_2$ so we can safely write $$\text{Aut}(\mathbb{Z_3}) \times \text{Aut}(\mathbb{Z_3}) \cong \mathbb{Z}_2 \times \mathbb{Z}_2$$ However, if we consider an automorphism $\sigma$ in $\text{Aut}(\mathbb{Z_3} \times \mathbb{Z_3})$ with $\sigma(1,0) = (0,2)$ and $\sigma(0,1) = (1,0)$, we have $o(\sigma) = 4$ but there is no element of order $4$ in $\mathbb{Z}_2 \times \mathbb{Z}_2$.