Thanks for your query.
It sounds like you took steps to keep yourself and your sexual partner(s) safe in this instance. Correct and consistent use of condoms is a proven safer sex tool that protects from acquiring or passing many sexually transmitted infections (STIs). So essentially, as long as you are sure the condom was intact and in place throughout the sexual encounter, there’s no risk of contracting STIs / HIV from the situation you described. You may still want to get tested especially if any of the following is true:
- you are sexually active and think that there were other previous unprotected sexual exposures
- you are sexually active and have never been tested for STIs
- you are not sure if the condom was intact or in place throughout the sexual encounter
- you are having symptoms that you believe are STI related