pregnant?

I had sex on the 19th and the condom broke! when can I take a pregnancy test?