I understand why this made you anxious it can feel uncomfortable in the moment.
To reassure you: the risk of
HIV, rabies, or other infections in this situation is extremely low to negligible. These infections are not spread by brief contact or touching of the injection site, and vaccinations are given with sterile precautions.
Just to understand your concern better:
• Are you having repeated thoughts about this or unable to stop worrying?
• Do you get similar fears about contamination in other situations?
• Do you often seek reassurance or check repeatedly?
If your worry feels excessive compared to the actual risk, it could be related to health anxiety or OCD-type concerns, which are quite common and treatable.
It would be a good idea to consult a psychiatrist for proper evaluation and reassurance.