Here are what you should do:

Fix 1: Simple Hardware Check.
Fix 2: Change Your Default Communication Device.
Fix 3: Alter Discord Settings: Output Volume and Output Device.
Fix 4: Advanced Discord Settings.
Fix 5: Turn on Legacy Audio Subsystem.
Fix 6: Restart Discord.
Fix 7: Contact Discord.