It depends on the type of blood test you are having. Some blood tests require you to fast (not eat or drink anything other than water) for a certain period of time before the test. This is usually because certain foods and drinks can affect the results of the test.
If your doctor or healthcare provider has instructed you to fast before the blood test, it is important to follow their instructions carefully. Usually, fasting means avoiding food and drinks for at least 8-12 hours before the test. You can still drink water, however.
If your blood test does not require you to fast, you can eat and drink as you normally would. It's always a good idea to check with your doctor or healthcare provider beforehand to confirm whether or not you need to fast before your blood test.