Hello
Welcome to health care magic.
I have gone through your question very diligently and I really appreciate your concern.
chances of transmission of
HIV is always there with unprotected sex but it's very very less, that too depend on many factors like virus load in the patient, Any ulcer or active infection of the genitalia and immune system.
You shouldn't worry about all this, go ahead, get yourself tested for HIV,
Don't think much and you shouldn't waste your time and peace of mind by thinking about this all the time.
if it comes to be positive, treatment is available which can improve your quality of life and you can live a normal life.
It's better to rule out your doubt at earliest possible.
Hope you will find my answer useful and informative, please feel free to ask for further clarification. I will be happy to help you.
Best wishes