Okay. Need answers

So I went to the doctor last week on Friday and I explain to her that I said am I. August 1 and then I just ended it like two days ago but the whole month I’ve been having what looks like a used infection in my picture above and I have never had one at four and it’s literally been a whole month since me and my husband have had sex and we tried to have sex yesterday and it hurts so bad still I don’t understand why are used infection has anything to do with it hurting so bad to have sex and she gave me some cream but that’s just for the dryness any tips on like what to do I go back in like another week or two but that’s still a long time to go without having sex especially since we haven’t had it in basically a month. Never had a yeast so don’t know if it’s suppose to hurt to have sex