Sometimes patients are asked not to eat or drink for several hours before an ultrasound test.