Let $(H,\mu,\nu,\Delta,\epsilon)$ be a Bialgebra where H is the vector space, $\mu, \nu$ are the product and unit whilst $\Delta, \epsilon$ are the coproduct and counit. Now, for $f,g \in end(H)$ define $f@g \in end(H)$ by $f@g=\mu(f \otimes g)\Delta(x)=\Sigma_{(x)}f(x')g(x'')$ (via Sweedler notation).
An element $S \in end(H)$ is called an antipode if
$S@id_H=id_H@S=\nu\circ\epsilon$
If a Bialgebra has an antipode, then it is unique. To see this, suppose $S,T$ are antipodes for the bialgebra $H$. Then we have:
$S = S@(\nu\epsilon)=S@(id_H@T)=(S@id_H)@T=(\nu\epsilon)@T=T$
Can somebody explain to me the first equality? Why do we get $S = S@(\nu\epsilon)$?

We know that an antipode for a bialgebra $H$ is a linear map $S:H \rightarrow H$ which is a convolution inverse of $id_H$.
So, $\forall f \in \text{End}(H)$, the following holds (because $f*id = f$ in every algebraic context): $$f * 1_{\text{End}(H)}= f$$
Now, take $S \in \text{End}(H)$ and write the same thing: $$S = S * 1_{\text{End}(H)}$$
but $1_{\text{End}(H)}=\nu \circ\epsilon $, so
$$S = S *\nu \epsilon$$