The sanitatis regimen was advice by physians on how to live healthy (taking baths, maintaining a good diet, etc). (prevention).
Prevention methods in medieval period
1. Hire people to clean up streets to prevent animals leaving trail of feces
2. Make public wells through lead pipes to provide clean water, but not effective due to dirty water source
3. Pass laws to make it illegal to litter and only remove waste outside city walls, effective for more hygienic streets
4. Regulations to make private latrines lined with brick or stone to lower risk of leaking into rivers used for drinking and bathing, but still not 100% leak proof