A high school teacher from Texas is accused of giving one student a lesson on sex and not mathematics.

The Austin teacher is accused of having an inappropriate relationship with a student after the mother of a 15-year-old boy found explicit texts between him and the educator.

According to news outlet KXAN, 23-year-old Erica Dinora Gomez was arrested Monday on charges of sexual assault and improper relationship between educator and student.

A woman called cops this past Sunday claiming she found sexually charged Snapchat messages from a woman named “Ericdinora” on her son’s smartphone. The mother allegedly became suspicious after hearing the front door of her apartment open earlier that morning.

The parent went to her son’s bedroom and reportedly found him fully clothed, lying on his bed.

While he slept, the boy’s mom did some digging online, discovering he was allegedly chatting with his ex-math tutor, Gomez, who was a teacher at Bowie High School.

According to an arrest report, Gomez told the boy that she had “fun in the back seat” while talking about sexually experimenting with the young chap.

“Babe…We’ve had car sex twice…Like that blows my mind LOL,” the accused said in one message, the report noted.

Detective Brandon Poe of Austin Police’s Child Abuse Unit said in an interview with the Austin American-Statesman Gomez admitted to having the sexual affair with the teen.

“The confession corroborated the information that had been provided by the victim,” Poe said. “She also did corroborate that there is no concern for other victims. We have not seen any evidence to support that anybody else was involved in this.”

Gomez allegedly met the boy in January, but the sexual relationship didn’t begin until August. The teacher-student union apparently happened four to five times over the past few months, cops say.

After the allegations surfaced Gomez was fired from Bowie High School and school officials sent a letter to concerned parents.