Moodle's documentation is pretty extensive. To find the link above, I Googled "Moodle Assign Teacher," and Google suggested "Moodle Assign Teacher to a Group."
You will also want to decide whether you want teachers to see other groups. The Groups FAQ can help you with that.