Tell your doctor about any medications you take and your allergies. You may have to stop taking anticoagulants during the previous days and take some antibiotics before the test. It is advisable to eat a light meal before the test. You should also remove any metal objects you are carrying and report any previous surgeries or metal implants such as pacemakers, aneurysm clips, or joint replacements.