Okay, so it's a lot like what Candi said.
Here's the thing though. If you shave rather than wax your under arms, you'll want to let your skin breathe for 10-20 minutes after your shower/bath before adding deodorant. This is because when you shave, you DO cut your skin (Although it's not always visible to the eye), and your pores are more open and so putting deodorant on immediately after can clog your pores, especially if it's not spray on deodorant.
Exfoliate when you shower, and there's also some moisterizers you can buy to help with the clogging of pores.
Hope this helps.