One of the most common rules before any kind of surgery is to fast 12 hours before surgery. This is done as a precautionary measure. If there is excess water in your system during a surgery, it can lead to pulmonary aspiration.