Sexual transmitted infections

Someone told me that I could possibly have an sti because he had one, I've had sex with other people since we had sex with a condom, would they have it?