You will need to avoid solid foods for several hours before going under anesthesia, but you can usually drink clear fluids. Make sure you follow your doctor’s instructions about eating and drinking before your procedure very carefully to prevent any problems. Your doctor may also ask you to avoid taking certain medications.