It takes a while for the virus to fully get into your bloodstream.
If your test is negative that means you are not effected by the HIV. The virus however takes from 6 months to may be 10 years entering into your bloodstream. The time duration depends on how well the antibodies fight with the virus and do not let it enter the blood.