Lemma 1. The composition of endomorphisms of a semigroup is an endomorphism; hence the set of endomorphisms is a semigroup.
Proof. If $f,g\colon S\to S$ are endomorphisms, then plainly $g\circ f$ is a function from $S$ to $S$. To show it is an endomorphisms, we have $$g\circ f(st) = g(f(st)) = g(f(s)f(t)) = g(f(s))g(f(t)) = (g\circ f)(s)(g\circ f)(t),$$
since each of $f$ and $g$ are homomorphisms. Therefore, since composition of functions is associative, the set of endomorphisms is certainly a semigroup. $\Box$
Lemma 2. The identity map is an endomorphism (in fact, an automorphism) that acts as the identity of the semigroup of endomorphisms.
Proof. $\mathrm{id}_S\colon S\to S$ is an automorphism; for every function (not just any endomorphism) $f\colon S\to S$, we have $f\circ\mathrm{id}_S = \mathrm{id}_S\circ f = f$. $\Box$
Corollary 3. The set of endomorphisms of a semigroup is a monoid under function composition.
Proof. By Lemma 1, it is a semigroup. By Lemma 2, it contains an identity. Hence, it is a monoid. $\Box$
Lemma 4. The set of automorphisms of a semigroup is a submonoid of the monoid of endomorphisms.
Proof. You need to show that the composition of two automorphisms is an automorphism. Since an automorphism is a bijective endomorphism, you only need to observe that the composition of two bijective functions is bijective, and the composition of two endomorphisms is an endomorphism. This shows the automorphisms form a subsemigroup. Since the identity is an automorphism, it is in fact a submonoid. $\Box$
Corollary 5. The monoid of automorphisms of a semigroup is a group.
Proof. We only need to show that an automorphism has an inverse that is an automorphism. An automorphism is a bijective homomorphism; it certainly has a (set-theoretic) inverse. It is straightforward to show this set-theoretic inverse is also a homomorphism (if you haven't done so already). $\Box$