Advice please!

I was diagnosed with bv and a yeast infection on Monday and am almost done with the bv antibiotics but an on the meds for the yeast fir another 3 weeks.  My question is, is it ok yo have  sex or should I wait longer??  G
​Feeling stressed and frustrated ugh!