If you have HIV, you might wonder how you got it. There are two ways:
Being born with HIV
This is when HIV passed from your mother to you when she was pregnant with you, during birth or through breastfeeding.
Getting HIV when you are an adolescent
This could be from having unprotected sex with someone who has HIV, using a needle to inject drugs after someone with HIV used it, or having a blood transfusion that had HIV in it.