help..asap!!

usually when I have sex I don't have any pain after but lately I can't last long because my vagina starts to swell and hurt. then it's swollen and hurts for a while after sometimes the pain last all day. And when I pee it hurts. And now also recently ive gotten on antibiotics and I was damn near close getting a yeast infection, then I are yogurt and it cleared up. But when I had sex the same night it cleared up it was painful at first but then I couldn't last long because of the swelling and pain. And wasn't able to do anything in the morning as well. how do I get rid of this pain, the swelling..I want to be able to last long, and most importantly how do i avoid all this discomfort in general ..am I doing something wrong? and I do use lube (coconut oil) . it even hurts to be fingered..