Before the endoscopy, your pet will need to refrain from eating for twelve to eighteen hours. This ensures that the oesophagus or stomach can be examined more easily. If the procedure will be examining the colon, medication will be administered so that the intestinal tract will be free of faecal matter.