Can you have sex with a yeast infection?

Can you have sex with a yeast infection, if so does anything happen or something? I wanna know really bad can someone please tell me