A 36-year-old Stillwater man who taught at a Wisconsin high school is accused of having sex with two students from that school at his home, according to charges filed Thursday by the Washington County Attorney.