There are many possible causes of this problem.
In your System Settings or by directly clicking on the Sound icon from the bottom taskbar, go to the Input tab and check that the default microphone is set to your desired input device. Next, see that the input level is high enough to accept incoming voices. If this is clearly satisfied, then please proceed to next point.
Go to the software that is being used to input/record your voice. Configure in-software settings to fix the sound. From Software Settings > Sound > Microphone > Enabled/Disabled fix the sound issue.
If the issue is still not working out, then you have to change your software to record or input your voice.
Hope it will help you out :}