I always had this issue if I just started installing it. First thing that you can do is download all the Speech recognition language pack and turn on Recognise non-native accents. Then you can do the Windows speech improvement, where you have to train the PC to recognise your voice by reading a whole bunch of sentences multiple times.
Then make sure your headset or microphone is set as the default communication device and do some voice recording, and play it back. If you can hear your own voice clearly, that’s a good step.
At the end, it does take several tries. You’ll need to go through several attempts where it fails to recognise your voice and you just keep saying them clearer until they do. But over time, it gets better and able to listen to your voice easier later on.