Baths & yeast infections

So I'm stressed & sore so I want to have a bath, I always use lavender epsom salt & lavender bath foam but I have a yeast infection (thank you pregnancy lol) , will this irritate or make my yeast infection worse ?