Hi,Welcome to HCM,
Condom is not 100% safe for STD
n your case there is a chance of having STD.
Go for STD test to rule out STD after 3months of exposure.
if you get some symptoms of having STD then go for test earlier or material from infected part.
Ok and bye.