Taanis 1:5-6
Taanis 1:5
If the new moon of Kislev arrived without rain having yet fallen, the court would declare three public fasts. On the night before, one could eat and drink, and on the fast itself one could work, bathe, anoint, wear leather shoes, and engage in marital relations.
Taanis 1:6
If these fasts passed and it still didn't rain, the court would declare three more public fasts. On the night before, one could eat and drink, but on the day of the fast day one was not permitted to work, bathe, anoint, wear leather shoes or have marital relations. Additionally, the bathhouses were closed. If these fasts passed and it still didn't rain, the court would declare seven more fasts, for a total of 13 public fasts. These are more even more stringent than the earlier fasts because on these we cry out and the stores are closed. On Monday, towards the evening, the shutters of stores are partially closed (to discourage business); on Thursdays, the shutters are removed because Shabbos is coming (and people need to buy food).