A dentist may recommend that you avoid eating or drinking anything for not less than 8 hours before your surgery if you will have anesthesia. If you are taking medication, use a little sip of water. Doing so helps avoid the risk of aspiration when receiving the surgery procedure.