Yes it is a good idea but there are also some natural remedies
Roll 3 unpeeled lemons on hard surface until soft. Cut lemons in half. Rub each half on armpit, alternating pits. Shower afterwards. If you have hairy armpits, shave the day before. Acidity kills the odor.