Yeast infection?

I normally always shave down there, and I started noticing I was getting really itchy around my labia and having a lot of redness, this went on for a few weeks and it really worried me. But I stopped shaving down there just to give it a try and since then I haven't had any itching, do you think it could have just be reoccurring yeast infections from shaving?