What about jailing the father of the baby?
Bring back the shotgun marriage.
Young men would be a lot more careful where they rubbed their jubblies if this was a possible consequence.
On the other hand, the father/mother obviously let their daughter go unchaperoned at least once. So they, too, share in the blame.