There’s no need for any special preparation for a vitamin B12 test; one can eat and drink normally before the blood test.