I happened to watch this movie and recalled a plot, just to express this background.
There were many ways of contraception in ancient times, even many dangerous or bizarre and ineffective ways.
Sheep intestines, animal excrement, resin, honey and so on. Without modern advancement, there is nothing we can do.