You should have went to your supervisor right away.
Needlestick injuries are generally considered low risk. Roughly 0.3% of all needlestick injuries transmit HIV. That is extremely low risk. Nevertheless you do need to take more care. I'm not sure which country you are working in but in the UK and US there will be an occupational health unit that can advise you. Otherwise you can take the HIV DUO test at 28 days and be assured of a negative result.
Hi, firstly, for every medical practitioner, its important to learn occupational hazards on HIV not only for their safety but also to answers patients queries on HIV. In your case, the question is not clear, ideally once you prick the patient, you should discard it immediately after collecting the sample. There are less than zero chances when you would prick the patients finger and then the needle pricks you. May be your mind is playing anxiety games with you. If you reframe the question correctly, may be anyone of us can help you out.