For decades, sex education in the classroom could be pretty cringey. For some adolescents, it meant a pitch for abstinence; others watched their teachers put condoms on bananas and attempt sketches of fallopian tubes that looked more like modern art.

On TikTok, sex ed is being flipped on its head. Teenagers who load the app might find guidance set to the pulsing beat of “Sex Talk” by Megan Thee Stallion.

A doctor, sporting scrubs and grinning into her camera, instructs them on how to respond if a condom breaks during sex: The pill Plan B can be 95 percent effective, the video explains.

The video is the work of Dr. Danielle Jones, a gynecologist in College Station, Tex., and so far has racked up over 11 million views. Comments range from effusive (“this slaps”) to eye-rolling (“thanks for the advice mom” and “ma’am, I’m 14 years old”).