Wearing condoms w/ 2 different men

I have a question to ask, can you get an STD or STI if you use condoms? Reason I'm asking is that I was with two different men at the same time sexual but used a condom for both times. I'm nervous as heck right now. I may have a slight touch of vaginitis but nothing to major so far. Please do not judge me on this, sometimes our emotions get to the best of us.