Why Can’t I Get Wet?

I recently had the Vaginal Yeast Infection. I used a cream and it got cured. However, now I feel it difficult to have sex. I want to have sex with my husband but I find it so hard to get wet! In fact since the infection I wasn’t wet at all! This makes sex painful too in the beginning. I’m also about to have my periods. So is this happening because of the periods or the infection? Do I need to see a doctor? If no then please suggest a solution or medication