Infection

I started having sex with my boyfriend a while ago and I've had two yeast/bacteria infections in the past 3 months. Could sex be causing it? He wears condoms and we wash up afterwards and stuff but I'm just not sure if this is normal...please help