Deodorant ??

Okay so someone said to put deodorant on the vaginal area after shaving to stop the itching. Wouldn't deodorant cause an infection since its usually scented ??