samsung phone settings screen mirroring

Mirror Samsung phone on TV using screen mirroring

How to cast or mirror Samsung phone on TV using screen mirroring?