A high school teacher was arrested after allegedly admitting to having an inappropriate relationship with a student.