The act of shaving will not necessarily cause you to develop a yeast infection. However, shaving your skin may cause aggravation, especially if you have sensitive skin already. If this happens, you may increase the likelihood of developing either a bacterial infection or a yeast infection. It’s not very likely, but if you already have a weakened immune system, you should take caution. Many doctors caution against completely shaving the genital area to begin with. If you’re reusing a razor that has been used for other purposes, or that is not clean, you may carry bacteria or yeast from one part of the body to another. You may want to discuss your needs and concerns with your own physician or naturopath.
One thing that you should be aware of is making sure you are not using shaving soap or cream that you are allergic to. If you are getting a yeast infection from shaving, you may very well have sensitive skin as it is, so I would recommend using unscented shaving creams or soaps. A lot of the shaving creams that you find in the cans do tend to be of lower quality, so keep that in mind. You do not necessarily have to go to a high end boutique store, but you can get something that is made for those with more sensitive skin.