Let $A$ be an algebra with unit. Denote by $A^L$ the algebra $A$ considered as left module over itself. Then $A^{op} = End_A(A^L)$.
So according to ncatlab.org/nlab/show/Morita+equivalence $A^{op}$ is morita equivalent to $A$ (namely "The algebra $S$ is isomorphic to the endomorphism algebra of a finitely generated projective generator in the category of left (or right) $R$ -modules.")
Is it correct? If not, then what is counterexample?
The nLab article is incorrect, it should say "right modules" specifically, not left modules.
It is not true that an algebra is always Morita equivalent to its opposite. For every field $k$ there is a group $\text{Br}(k)$, the Brauer group of $k$, whose elements can be described as Morita equivalence classes of central simple algebras over $k$, and where the group operation is tensor product. Taking the opposite algebra gives inverses in this group. So any element of a Brauer group of order greater than $2$ gives a counterexample, and for example the Brauer group $\text{Br}(\mathbb{Q})$ is known to have elements of every finite order. I believe examples are given by cyclic algebras.