Patients may need to avoid eating or drinking anything for a few hours before the test, and may need to wear loose-fitting clothing without any metal fasteners. Patients should inform their doctor if they have any allergies, as they may need to receive medications to help prevent an allergic reaction.