Yeast & sex?

Can you have sex with yeast infection? I tried it, got super super swollen and start to bleed and now burning. Has this happen to anyone else or just me? Or do I have something other than yeast? Swollen has went down some but still some blood and burning.