They don't always pass on, but what the chances are, no-one knows. (HIV is the best researched, and even that's not known exactly.)
So, yes, it's test time. Depending on where you are and your age, there may be a 'pee on this and send it in' test service for chlamydia.
Presumably you weren't using condoms?