I don't think your question can be answered without more specifics. But very broadly, 'rape' didn't mean the same thing that it does now, mostly because women frequently went on to have long-term relationships with their rapists--something that doesn't generally happen anymore. At least not in the West.
Let's talk about the Mongols. They did a fair bit of raping. What happened afterwards?
The women were killed along with the men. And the children. The Mongols tended to kill everyone first, ask questions never. In this case, the town might cease to exist.
The women were left in the ashes of their village. This is what you're asking about, but this is also the category that will be most absent from the historical record. Whatever happened to these women, it probably wasn't good. I'm also not aware of what might have happened to any children born of that sort of anonymous rape. Again, probably nothing good. But remember, the Mongols devastated whole continents so the rape would have been so universal that there likely wasn't much social stigma attached. People were too busy starving (this is likely what happened to the victims and any children).
The women were taken as 'wives' or concubines by the Mongols. This often meant they left the place they were living and went wherever the Mongols took them. But some of these women were well treated (broadly speaking). A woman named Toregene (with some umlauts, not sure how to do those) was the wife of a local clan leader. When the Mongols defeated her clan, she was 'given' to Ogedei, Genghis Khan's son. While we can assume 'given' here includes what we would define as rape, she might not have seen it in exactly the same way. After all, she had also been 'given' to her previous husband. Anyway, Toregene had a number of children with Ogedei and, after his death, she became interim Khatun (Emperor, more or less) of the Mongol Empire. And by what I remember, she did a good job.
Era, region and circumstance make all the difference.
To branch off into something more specific from OP's question, how would rape victims be treated in the Medieval Europe, depending on the time period (Early, High, Late) and on the location and region?
Sorry, we don't allow throughout history questions. These tend to produce threads which are collections of trivia, not the in-depth discussions about a particular topic we're looking for. If you have a specific question about a historical event or period or person, please feel free to re-compose your question and submit it again.