Help!!

A friend thinks she’s pregnant because the condom broke and the next day she was ovulating. How soon should she take a test? Also she’s had blood when urinating. Any opinions on what it may be?