You cannot add yourself as a teacher to a class. The school admin/ class admin or an existing teacher must add your email address to the class, which will send you an invitation. Accepting the invitation will add you to the class with a teacher role.