My partners condom broke whilst having sex and just wondering how long it takes after sex to get pregnant?

Testing? I am guessing but believe you might be asking how long would it take to know you were pregnant? If so, you can do a home pregnancy test with the first morning voiding - the first day you miss your period.