You need to go to audio settings (an option that appears when you right-click the icon of the "speaker" at the bottom of your screen) and change your sound output preference to the Headphones & mic and that's it.
Discord is pretty intuitive. In my case, I didn't need to do any configuration in Discord to talk to other