Welcome to e health forum.
During IV injections, once the needle is in place, it is common to draw back slightly on the syringe to aspirate blood, thus verifying that the needle is really in a vein. Hence this blood can confuse patients to think that the needle has been contaminated and might be infectious.
But in most accredited hospitals and trained health care workers treating individuals would not be that careless enough to use contaminated needles on unsuspecting patients. Your fears are due to being anxious and paranoid thoughts and fear about doctors and health care workers.
In case, you still have doubts and fear that you have been infected, then you should consult with your doctor for a ELISA test for HIV antibodies, which can be done after 4 weeks of the exposure.
HIV Tridot is a third generation type of ELISA test and it is a simple and rapid screening test for HIV/AIDS and detects antibodies to HIV 1 and HIV 2. The sensitivity of the test is above 99.9 and is a highly reliable test and should be done only after 4 weeks of exposure for valid results. Doing the test earlier is not helpful for proper diagnosis.