Pain in vagina

Had a really bad yeast infection last week. No more discharge but it hurts really bad to have sex like I can’t stand anything to go inside me. No burning, irritation,or itching sensation though. Just hurts to have sex. Im also pregnant. What’s going on?