Yeast

So is it ok to have sex if I have a yeast infection?