Armpit rashes

What causes armpit rashes? The past month I've been getting armpit rashes on and off and I currently have rashes on both my armpits and it smells horrid and hurts really bad, any home remedies, creams or any over-the-counter items I can get to make it go away and feel better? Its so gross 😷😷😷