Before going for the X-Ray, there is no need to fast or alter your diet. However, it is recommended to inform your doctor about your health conditions such as vomiting, nausea, and so on.