Generally, overnight fasting is preferred for an ESR test. However, it is not mandatory. It is also advised that you should inform the doctor about the medications you take, as some medications, including estrogens, birth control pills, aspirin, prednisone, etc., may affect your test results.