Super uncool on her part. I don't buy it as a mistake happening twice like that. Next time, no response on your part. No matter what the text, naked pic etc. Starve that fire by giving it no oxygen.
She wants some kind of reaction, ANY KIND, because she needs attention. She knows you are an easy target. She knows just how to get in your head and get you going. I think it's a game to her. So don't play the game. Don't respond, ignore, just as the others said.