Yeast infection

What happens if you have sex while treating yeast?