Help CONDOM BUST ????

Ok so we’re having sex then the condom bust I’m so scared about std ? How soon after exposure do I have to wait to get tested ???????