Thank you for asking query at DoctorSpring.
There is a very small possibility you might have contracted HIV. But DO NOT worry. This is more of a 'textbook' possibility. Practically you should be safe. But to be 100% sure you will need to get a HIV test done. You can get a HIV antibody screening test after 6 weeks, to make sure you are negative.
Hope this helps
Please feel free to ask followup questions.