Hi! I'm sure there are plenty more things to say--including the question of maternity leave--but contraception in the past, including among prostitutes, has been covered a few times here, including:
How did early prostitutes prevent pregnancy?
In early times, where brothels and prostitutes were a part of everyday life, how did the prostitutes avoid getting pregnant? with answers by /r/armer_heinrich, among others (and a long tangent about what the Bible says or doesn't say about sex)
In the 19th century and before, How prevalent was pregnancy among prostitutes in brothels and how were those babies dealt with?
Unfortunately, these are so old that I can't tag most of the people who wrote the answers, since their accounts are gone. I hope you find those answers helpful! :)