How do I discuss with my teacher that I stole the exam answers?

Confess. Confess to your teacher that your broke the law, take the exam the honest way, promise never to repeat this again, he may forgive you, if does not be prepared to accept the punishment.