broken condom

im in between birth controls and had sex last weekend. however the condom broke during sex. how long would you wait before taking a pregnancy test?