No, you don’t instantly get an STI if the condom breaks, but it definitely increases your risk. Different STIs have different transmission rates, so it’s definitely safest to get tested if you’ve been exposed to an STI. It’s also a good idea to get checked once a year if you’re sexually active just to make sure.