Pain during sex

Janny
Was wondering if any one experience painful intercourse after yeast infection ? I had yeast infection two weeks ago so we waited till today to have sex but it hurt so bad when he push in . On a skill 1-10 pain level it's 10 ! I feel like it's tearing my vagina apart but after he is in it still hurts but not as bad . And after we finish and I went to bath room to pee it hurts too 
Any suggestion 
Ps we try to use lube but god it's just burning down there