Preparation for a CT scan can vary depending on the area being examined. Generally, you may be advised to avoid eating or drinking for a few hours before the scan. You should inform your doctor if you are pregnant or have any allergies, especially to contrast dye. Sometimes, a contrast agent is used to enhance the visibility of certain tissues or blood vessels. This can be administered orally or intravenously.