I had an unfortunate accident with a sex worker few years back. (condom likely broke due to contact with massage oil)
There is a procedure...
Post-Exposure Prophylaxis where you might reduce the chance of an infection after being exposed to HIV. (Treatment will not work after 72 hours) What I did was to head DSC clinic the next day (works best within 24 hours) and asked for a PEP treatment. This is a choice you have to make as there are some potential side effects.
I took the medicine for about a month and I felt horrible through the whole treatment period. Came back after a month or so, did a blood test and i'm cleared.
Just sharing my own personal experiences here, hope this help out other bros who might be worried after their rubber broke. (I know I did...)
Stay safe!